associative arrays with manual memory management

Ilya Yaroshenko via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Aug 26 02:36:54 PDT 2015


On Wednesday, 26 August 2015 at 06:50:26 UTC, Per Nordlöw wrote:
> On Monday, 24 August 2015 at 12:01:52 UTC, Ilya Yaroshenko 
> wrote:
>> http://code.dlang.org/packages/aammm/~master
>
> It would be nice to have a test example for other allocators. 
> I'm especially interested in how much speed we can gain with 
> using a non-shared BlockAllocator in combination with aammm.AA.
>
> Can the whole AA be made `@safe pure nothrow` if the allocator 
> is stored inside the AA itself (non-shared)?

EDIT: Plus I think to RefCountingAA.

> I'm especially interested in using this for keys and values 
> only with no indirections.




More information about the Digitalmars-d-announce mailing list