Expand description
Single-threaded u64 → u64 hashmap with x86-64 assembly operations.
Growth and allocation live in Rust. Lookup, insert variants, remove, clear,
and iteration are implemented in native/hashmap.S on x86-64, or in a C
reference of the same algorithm elsewhere.
use assembly_hashmap::AssemblyHashMap;
let mut map = AssemblyHashMap::new();
map.put(1, 10);
assert_eq!(map.get(1), Some(10));Structs§
- Alloc
Error - Allocation failed while constructing or growing the map.
- Assembly
Hash Map - Auto-growing
u64 -> u64map backed by fixed-capacity native tables. - Iter
Constants§
- USING_
ASSEMBLY - True when this build links
native/hashmap.S; false means it uses the non-x86-64 C reference operations.