Joe Tsai 9a05cdd2b5
syncs: add Map (#6260)
Map is a concurrent safe map that is a trivial wrapper
over a Go map and a sync.RWMutex.

It is optimized for use-cases where the entries change often,
which is the opposite use-case of what sync.Map is optimized for.

The API is patterned off of sync.Map, but made generic.

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2022-11-10 10:55:26 -08:00
..
2022-11-10 10:55:26 -08:00
2022-04-07 16:38:33 -04:00
2022-08-02 10:08:05 -07:00
2022-11-10 10:55:26 -08:00
2022-11-04 07:25:42 -07:00
2022-09-29 13:36:13 -07:00