[go-nuts] sync.Map performance problem

2017-10-21 Thread barce show
how to understand this sentence For use cases that do not share these attributes, it will likely have comparable or worse performance and worse type safety than an ordinary map paired with a read-write mutex. -- You received this message because you are subscribed to the Google Groups "gola

[go-nuts] sync.Map performance problem

2017-10-21 Thread barce show
I use sync.Map in my program to support access concurrently, but witin two hours with less than 50 clients, my program run out all of my cpu, so I go back to read the pkg document, and I find this sentence "For use cases that do not share these attributes, it will likely have comparable or wo