]> Cypherpunks.ru repositories - gostls13.git/commit
sync: switch Map to use atomic.Pointer
authorJoe Tsai <joetsai@digital-static.net>
Fri, 26 Aug 2022 22:10:46 +0000 (15:10 -0700)
committerGopher Robot <gobot@golang.org>
Mon, 29 Aug 2022 20:09:02 +0000 (20:09 +0000)
commitb0144b384318e17b7b4facdbbd2fff3712085eab
tree396fd030844f124b0b936a360d0a491d7021c8e3
parent36d1f236610a436bcbceca11e040a65593f1f253
sync: switch Map to use atomic.Pointer

There was no noticeable change in performance.

Change-Id: I9c57bf836c8b6066e0620afb3d536ce99e4b9d87
Reviewed-on: https://go-review.googlesource.com/c/go/+/426074
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Auto-Submit: Joseph Tsai <joetsai@digital-static.net>
Run-TryBot: Joseph Tsai <joetsai@digital-static.net>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/sync/map.go