File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -721,8 +721,12 @@ The [`strings`](/pkg/strings) package adds several functions that work with iter
721
721
722
722
#### [ ` sync ` ] ( /pkg/sync/ )
723
723
724
- The implementation of [ ` sync.Map ` ] ( /pkg/sync#Map ) has been changed, improving overall performance
725
- and resolving some long-standing issues.
724
+ The implementation of [ ` sync.Map ` ] ( /pkg/sync#Map ) has been changed, improving performance,
725
+ particularly for map modifications.
726
+ For instance, modifications of disjoint sets of keys are much less likely to contend on
727
+ larger maps, and there is no longer any ramp-up time required to achieve low-contention
728
+ loads from the map.
729
+
726
730
If you encounter any problems, set ` GOEXPERIMENT=nosynchashtriemap ` at build
727
731
time to switch back to the old implementation and please [ file an
728
732
issue] ( /issue/new ) .
You can’t perform that action at this time.
0 commit comments