4 ms·
They added sync.Map > Map is like a Go map[interface{}]interface{} but is safe for concurrent use by multiple goroutines without additional locking or coordina
by irq-1 7y ago
They added sync.Map
> Map is like a Go map[interface{}]interface{} but is safe for concurrent use by multiple goroutines without additional locking or coordination. Loads, stores, and deletes run in amortized constant time.
https://golang.org/pkg/sync/#Map https://golang.org/pkg/sync/#Map