LRU cache for ~=

Sean Kelly sean at invisibleduck.org
Mon Oct 19 15:53:28 PDT 2009


Jason House Wrote:
> 
> Will all arrays overallicate when created in order to allow efficient appending?

They effectively do anyway, since the GC block sizes are in powers of 2 and the runtime relies on the GC to determine block capacity.  In effect, it's simply the GC that's over-allocating instead of the runtime itself.




More information about the Digitalmars-d mailing list