apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject Re: svn commit: r817809 - in /apr/apr/branches/1.4.x: CHANGES include/apr_hash.h tables/apr_hash.c
Date Mon, 30 Jan 2012 07:08:52 GMT
On Tue, 2009-09-22 at 20:06 +0000, minfrin@apache.org wrote:
> URL: http://svn.apache.org/viewvc?rev=817809&view=rev
> Log:
> The implementation of expand_array() in tables/apr_hash.c allocates
> a new bucket array, without making any attempt to release the memory      
> allocated for the previous bucket array. That wastes memory: if the     
> hash table grows exponentially, this strategy wastes O(n) extra memory.
> Use a subpool instead.
> Submitted by: Neil Conway <nrc cs.berkeley.edu> 

Somehow this commit never made it into trunk. It only exists in what is
now 1.5.x. Anyone knows why?


View raw message