apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Stoddard" <b...@wstoddard.com>
Subject Re: Observations on fragmentation in SMS pools
Date Sun, 08 Jul 2001 15:38:12 GMT
>
> I've been working on a power of 2 allocator.  I still haven't got that up
> to speed yet, but it is worth a look.  I'll play with it this week and post
> it to the list

I hacked a simple power of two allocator together as a proof of concept that replacing
malloc/free with apr_malloc/apr_free could give us a performance boost (it does). Find it
here (it is for Windows).

http://wstoddard.com/patches/apr_mem_alloc.tar

There are several simple changes to this code that could make it much closer to something
that could be committed.

Bill


Mime
View raw message