curl-library
Reducing the number of mallocs
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 22 Apr 2017 20:30:22 +0200 (CEST)
Date: Sat, 22 Apr 2017 20:30:22 +0200 (CEST)
Hey!
Today I landed yet another small change to libcurl internals that further
reduces the number of small mallocs we do. This time the generic linked list
functions got converted to become malloc-less (they way linked list functions
should behave, really).
I just posted an article on my blog about my malloc-reducing recent work in
curl and how it impacts transfer permance quite notably:
https://daniel.haxx.se/blog/2017/04/22/fewer-mallocs-in-curl/
tldr: curl transfers data faster now and it does significantly fewer mallocs.
-- / daniel.haxx.se ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2017-04-22