alphadose / haxmap

Fastest and most memory efficient golang concurrent hashmap
MIT License
892 stars 45 forks source link

Fix copy of atomic.Pointer value #4

Closed cuonglm closed 1 year ago

cuonglm commented 1 year ago

An atomic.Value must not be copied after first use.

See: https://pkg.go.dev/sync/atomic#Value