News for hackers. Stuff that matters.
Re:Go 1.6 Release Candidate 1 is released by tagrun on Thursday January 28, 2016 @12:27AM (#10986479)
> so long as you are just setting a new value

The hash map first needs to determine whether it already has a value with such a key or not, which requires some checking that typically involves many instructions and is not atomic. And to determine that, you at least need a read-lock.

There are no comments on this comment yet.