eris.hash_table

This module provides hash tables with deterministic memory usage (not reliant on the GC), as a betterC alternative to the built-in AAs.

Includes both unsafe (explicitly managed) and safe (refcounted) hash-based data types.

More...

Members

Aliases

HashSet
alias HashSet(T) = HashMap!(T, Unit)

Safe version of UnsafeHashSet.

UnsafeHashSet
alias UnsafeHashSet(T) = UnsafeHashMap!(T, Unit)

Unordered hash set.

Structs

HashMap
struct HashMap(Key, Value)

Safe version of UnsafeHashMap.

UnsafeHashMap
struct UnsafeHashMap(Key, Value)

Dense hash map acting as a mostly-compatible (even if unsafe) AA replacement.

Detailed Description

Performance is roughly equivalent to AAs, but can be made a bit better with preallocation. upserts