On 05/16/2016 01:36 PM, Andrei Alexandrescu wrote:
> A reap would be great there! std.experimental.allocator offers that and
> a variety of others. -- Andrei

Yes indeed, a malloc backed Region Allocator w/ a FreeList or a
BitmappedBlock would be a good starting point.

That might finally be a compelling enough case to start using phobos in
dmd. Last time people forced me to spend several hours on reimplementing
and debugging a BitArray implementation [¹].

[¹]: https://github.com/dlang/dmd/pull/5426#discussion_r52833955

Reply via email to