Fun project - faster associative array algorithm

Martin Nowak via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 8 01:56:12 PDT 2015


On Tuesday, 7 April 2015 at 23:38:21 UTC, Andrei Alexandrescu 
wrote:
> Ah, I thought the array embeds KeyValue directly. Thx! -- Andrei

It should if they are relatively small compared to the pointer, 
or at least store the key inline. As we recently discussed about 
the freeing bug in the AA, it should be fine to store values 
inline, as long as the bucket array is never deleted.


More information about the Digitalmars-d mailing list