[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Pools space-time tradeoff

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2002-05-22 19:40:01 CEST

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.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 22 19:43:33 2002

This is an archived mail posted to the Subversion Dev mailing list.