I bet sync.Map becomes ubiquitous, regardless of good reasons to use a RWMutex guarded map. Simply because it seems easier to use than creating a RWMutex guarded Map, especially when performance is not a primary concern.
@user-qi5kb5th7y2 жыл бұрын
Now they introduced generics, but didn't even touch the stdlib. Lol.