Allocate N elements

bearophile bearophileHUGS at lycos.com
Mon Jul 15 13:36:05 PDT 2013


Namespace:

> Ah, good to know. But anyway malloc allocates exact N elements, 
> without ugly overhead.
> Would be really good if there was a way to avoid that the GC 
> takes over the memory.

That wasted space is what you pay to reduce memory fragmentation 
with a not copying GC.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list