[pooma-dev] comments on Pool

Scott Haney swhaney at earthlink.net
Mon Mar 19 14:15:36 UTC 2001


on 3/18/01 11:41 PM, Allan Stokes at allan at stokes.ca wrote:

> 
> I noted that the grow() function makes no special effort to allocate
> page-sized chunks on VM page boundaries.  It just calls new
> char[alloc_this];  Perhaps the implementation is relying on certain C++
> platforms to return near-page-size allocations on VM boundaries on best
> effort?

Doubt it. :-)

> 
> Perhaps the best thing to do is note some of these issues in Pool.h for
> attention the next time the surgeon cuts.
> 

This is a great idea. It sounds like there might be benefit to be gained
with only a little work, but we should probably defer this a bit.

Scott




More information about the pooma-dev mailing list