apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Hudson <ghud...@MIT.EDU>
Subject Re: [PATCH] Pools space-time tradeoff
Date Wed, 22 May 2002 17:40:01 GMT
I don't have any problems with this patch, but... isn't APR's pool
system doing way too much work?  If I were implementing it, I would just
malloc() a new block for each apr_palloc(), chain it into a list, and
free() all those blocks when the pool is cleared or destroyed.

Presumably the extra work is for some theoretical or actual performance
gain, since Apache is very performance-sensitive.  Have people actually
measured a performance benefit from the current code over the dumb
implementation?

(Apologies for, most likely, treading on well-trammeled ground.)


Mime
View raw message