Skip to main content

Module hash

Module hash 

Source
Expand description

Hash function nodes.

Every node here is JIT-eligible: each arg and return maps to a JitType, so the macro emits compiled_u64() and jit_constants() (carrying the captured Const<...> field values) alongside eval().

Structs§

Hash
64-bit hash using SplitMix64 (high-speed scalar integer mixer).
HashInterval
Hash a u64 into a float interval [min, max).
HashRange
Hash a u64 into a bounded range [0, max).
Scatter
Scatter sequential cycle counters across the 64-bit integer space.
Splitmix64
Explicit SplitMix64 integer permutation node.
Xxh3
Canonical 64-bit xxHash3 digest (short alias).
Xxhash3
Canonical 64-bit xxHash3 digest.

Functions§

splitmix64_u64
Ultra-fast 64-bit pseudo-random permutation mixer (SplitMix64).