associative arrays with manual memory management

via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Aug 26 05:10:14 PDT 2015


On Wednesday, 26 August 2015 at 10:48:11 UTC, Ilya Yaroshenko >> 
auto a  = aa!(string, int)(Mallocator.instance); // 3rd CT

highlights

It would be nice to also see an example at
https://github.com/arexeu/aammm

that shows AA-usage in conjunction with some other allocator such 
as FreeList and add a note about the performance improvement this 
gives.

In that case, would it be possible to have factory functions for 
AA that automatically derives allocator parameters from key and 
value type for specific allocators?

What do you say?



More information about the Digitalmars-d-announce mailing list