dynamic array memory allocation

Walter Bright newshound1 at digitalmars.com
Thu May 17 13:57:29 PDT 2007


Traveler Hauptman wrote:
> It would be nice to be able to set minimum allocation chunk size on a
> type-by-type basis; especially for small types. Or is that considered a
> compiler optimization?

D allows for custom memory allocation schemes by overloading operators 
new and delete for a class/struct, or by using malloc/free (or one's own 
allocator) directly.



More information about the Digitalmars-d mailing list