Closed vtolstov closed 2 years ago
for small datasets there wouldn't be any noticeable difference between haxmap and the default go map.
the difference would start to show with an increase in dataset size and more number of goroutines reading/writing concurrently in which case mutex locking/unlocking would be much slower as compared to haxmap which uses lock-free linked list internally
Thank you
In which cases using this package really needed vs standard go map with mutex? For example if I have 10 entries?