pub type MapStorage = IndexMap<RuntimeValue, RuntimeValue, BuildHasherDefault<FxHasher>>;Expand description
The Map payload behind RuntimeValue::Map. INSERTION-ORDERED (IndexMap):
iteration, display, and marshaling follow the order keys were first
inserted — the LOGOS Map contract, identical across the tree-walker, the
VM, the AOT LogosMap, and the direct-WASM linear map. FxHash instead of
the standard library’s SipHash: map-heavy programs hash on every
get/insert, and the keys here are small values (ints, short texts) where
Fx is several times faster — with no DoS-resistance requirement (a
single-program interpreter hashing its own program’s keys). NOTE: removal
must go through shift_remove (order-preserving), never swap_remove.
Aliased Type§
pub struct MapStorage { /* private fields */ }