v1.19.1.221111.Map.MapOf
Concurrent Map
sync.Map with better read and write performance (supports any type of the key)
forked from orcaman/concurrent-map
For cache, you can choose: Cache/CacheOf and Map/MapOf
Changelog
- Unified initialization method:
cmap.NewOf[K, V]()
, Usedxxhash
, thanks. - Supports both generic and non-generic types.
- Add benchmarks for commonly used Map packages, See: 🤖 Benchmarks