Module adaptive_hashmap

Module adaptive_hashmap 

Source
Expand description

Adaptive HashMap that switches between simple and sharded modes based on contention

This module provides an adaptive data structure that starts with a simple mutex-protected HashMap and upgrades to a sharded version when contention is detected.

Structsยง

AdaptiveHashMap
Simplified adaptive HashMap that chooses mode at creation time This avoids runtime switching complexity while providing the benefits