Skip to content

v1.19.1.221111.Map.MapOf

Compare
Choose a tag to compare
@fufuok fufuok released this 11 Nov 01:04
· 5 commits to master since this release

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](), Used xxhash, thanks.
  • Supports both generic and non-generic types.
  • Add benchmarks for commonly used Map packages, See: 🤖 Benchmarks