On Tuesday, 6 May 2014 at 00:30:10 UTC, Brian Schott wrote:
On Sunday, 27 April 2014 at 05:43:07 UTC, Andrei Alexandrescu
wrote:
Added SbrkRegion, SimpleBlocklist, and Blocklist.
http://erdani.com/d/phobos-prerelease/std_allocator.html#.SbrkRegion
http://erdani.com/d/phobos-prerelease/std_allocator.html#.SimpleBlocklist
http://erdani.com/d/phobos-prerelease/std_allocator.html#.Blocklist
https://github.com/andralex/phobos/blob/allocator/std/allocator.d
Destruction is as always welcome. I plan to get into tracing
tomorrow morning.
Andrei
These are my biggest concerns with the allocator API:
1. Struct postblit/destructors don't work reliably, so knowing
when to call deallocate() is very difficult.
Hmm... destructors have been debated ad nauseam, but what's the
problem with postblits?