cURL / Mailing Lists / curl-library / Single Mail


Re: [RFC] Cached memory pools

From: Daniel Stenberg <>
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
>> 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:
Received on 2007-05-01