Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Feature Flags

FeatureDefaultPurpose
stdyesConcurrent/sharded maps and From<HashMap>
simdnoSSE2 H2 matching on x86_64
critical-sectionnoportable-atomic fallback when native CAS is absent

Raw/typed maps, slab storage, iterators and formatting work without std, using alloc. The cache itself requires a heap allocator. Fixed-layout primitives MetaWord/Slot/Bucket can be used without creating a heap-backed map.

pulse_map = { version = "0.6", default-features = false }

Targets without CAS additionally require the critical-section feature and a critical-section implementation supplied by the binary/HAL. See Embedded. SIMD uses multiple SSE2 operations plus state filtering; its benefit needs measurement, not a fixed percentage promise. Other architectures use scalar matching.

cargo test --all-features
cargo test --no-default-features
cargo test --features simd