Use xsync.MapOf instead of sync.Map
Oct 23, 2022
https://puzpuzpuz.dev/so-long-syncmap https://github.com/puzpuzpuz/xsync
presents a convincing case that xsync.MapOf is better on all counts than sync.Map if you need performance.
https://puzpuzpuz.dev/so-long-syncmap https://github.com/puzpuzpuz/xsync
presents a convincing case that xsync.MapOf is better on all counts than sync.Map if you need performance.