Crate gix_hashtable
source ·Expand description
Customized HashMap and Hasher implementation optimized for using ObjectIds as keys.
The crate mirrors std::collections in layout for familiarity.
Modules
- A hash map implemented with quadratic probing and SIMD lookup.
- A hash set implemented as a
HashMapwhere the value is(). - Experimental and unsafe
RawTableAPI. This module is only available if therawfeature is enabled. - thread-safe types
Traits
- Key equivalence trait.
Type Aliases
- A
HashMapfor usage with keys that are already robust hashes (like anObjectId). The first8bytes of the hash are used as theHashMaphash - A
HashSetfor usage with keys that are already robust hashes (like anObjectId). The first8bytes of the hash are used as theHashMaphash