Fast GC allocation of many small objects

Per Nordlöw per.nordlow at gmail.com
Sat Mar 31 20:53:47 UTC 2018


On Saturday, 31 March 2018 at 20:17:26 UTC, Per Nordlöw wrote:
>>      auto reg = Region!(NullAllocator, 16)(cast(ubyte[])buf);
>
> Thanks!

Turns out that Region allocator wasn't fully qualified:

https://github.com/dlang/phobos/pull/6400

This will make it possible to allocate with it in pure code :)


More information about the Digitalmars-d-learn mailing list