On Tue, Apr 17, 2001 at 07:32:02AM -0700, [EMAIL PROTECTED] wrote:
>...
> b) With the model above, we are allocating everytime we want to fill out
> an apr_dso_handle_t.  That is a performance waste.  We are allocating just
> to immediately lose that memory, and re-allocate it.  In fact, not only is
> this a performance waste, it is a resource waste.  You allocated 1
> sub-pool, and 3 apr_dso_handle_t's.  My model uses one apr_dso_handle_t.
> If the pool doesn't die immediately, then we have a bunch of wasted
> memory.

Wasted memory? 16 bytes each.

See my other note. Talking about "wasted memory" is a non-starter.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Reply via email to