cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: [RFC] Cached memory pools

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 1 May 2007 19:06:55 +0200 (CEST)

On Tue, 1 May 2007, Robert Iakobashvili wrote:

>> Cool idea ;-), I'am sure you have thought to use these nice callbacks
>> http://curl.haxx.se/libcurl/c/curl_global_init_mem.html in your project ;-)
>
> Yep. The callbacks are for user parts.

Not necessarily, you replace all memory functions libcurl use when you invoke
that function.

> The question is about caching memory pools for internal libcurl housekeeping
> allocations, where many places are using the "raw" calloc, malloc and free,
> unless this is done for purpose.

Do you have any numbers/estimates on what we could gain by doing this
suggested move?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-05-01

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET