Changes for version 0.22 - 2026-10-06
- A writer killed mid resize, clear, put or remove, or croaked by a fast signal timer, no longer loses entries or keeps the lock.
- New: DATA_HASHMAP_SHARED_SPARSE=0 reserves file space up front.
- Faster lookups, counters, lock waits and resizes; integer cas on plain maps takes the read lock; many TTL, LRU and arena fixes.
- Stricter argument checks; correct the documentation.
Documentation
Practical recipes for shared-memory maps
Modules
Multiprocess shared-memory hash maps with LRU eviction and per-key TTL
shared-memory hash map, int16 keys to int16 values
shared-memory hash map, int16 keys to string values
shared-memory hash map, int32 keys to int32 values
shared-memory hash map, int32 keys to string values
shared-memory hash map, int64 keys to int64 values
shared-memory hash map, int64 keys to string values
shared-memory hash map, string keys to int64 values
shared-memory hash map, string keys to int16 values
shared-memory hash map, string keys to int32 values
shared-memory hash map, string keys to string values