GC-less Hash-Tables (AA)

Justin Whear via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Sep 17 08:27:40 PDT 2014


On Wed, 17 Sep 2014 10:39:05 +0000, Nordlöw wrote:

> Have anybody cooked any GC-less variants of hash-tables (associative
> arrays) that take keys and values with value semantics only.
> 
> Similar to how
> 
>      X[]
> 
> relates to
> 
>      std.containers.Array!X
> 
> I need this to index my nodes in graphs with tens of millions of nodes.

See our hashmap and hashset implementations here:
https://github.com/economicmodeling/containers/tree/master/src/containers

These containers are all certified GC-free.


More information about the Digitalmars-d-learn mailing list