AA Performance in Benchmarks

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Sun Apr 26 03:58:33 PDT 2015


"Laeeth Isharc"  wrote in message 
news:hnihyhgtmdzhszkpnftl at forum.dlang.org...

> At a slight tangent: is there a way to reserve capacity for an associative 
> array?  The obvious way does not seem to work.

No.

> I noticed also in a talk at nativecode (possibly by Herb Sutter) that C++ 
> gives you the ability to tune almost any parameter of the associative 
> array implementation in the standard library.  (I'm not a C++ guy).  Is 
> this entirely spurious, or would it be helpful for D?

Yes, if we had an AA in phobos. 



More information about the Digitalmars-d mailing list