3 ms·
> each goroutine essentially owns some subset of the keys in the map With those constraints, why not create a small map for each goroutine at that point, and m
by vanderZwan 9y ago
> each goroutine essentially owns some subset of the keys in the map
With those constraints, why not create a small map for each goroutine at that point, and merge the maps afterwards?
- imaginenore 9y agoThen you have to merge them on every read (after any modification).