concurrent-map
concurrent-map copied to clipboard
a thread-safe concurrent map for go
This adds a new constructor to the ConcurrentMap that allows the user to pass in the number of shards we should shard the map to
I have a use case where I need to get the value stored in the map, and depending on the value I might insert (if it didn't exist already), update,...
Hi, folks. I've decided to use your CHM implemendation. But i have specifical use case. I use map for counting, actually freqeuency of words. So you guarantee synchronization of each...
The big the better or what strategy?
This resembles sync.Map's LoadOrStore which is quite useful in some cases (set lazy value etc.)
Hi, first of all. Thanks for the good map code for golang, we love it and use it in our project: https://github.com/runner365/livego and we find one question about IterBuffered performance...
Hi there, I use ConcurrentMap to story symbols data, if use Upsert function, there are memory leak; if use Set function, it is fine. Can you please take a look...
排查记录:所以在使用clear方法时,先判断长度,长度为零不用动态清除数据