None
EN
Go sync.Map: The Right Tool for the Right Job
[]
VictoriaMetrics: Simple & Reliable Monitoring for Everyone on VictoriaMetrics
func ( m * Map ) Load ( key any ) ( value any , ok bool ) func ( m * Map ) Store ( key , value any ) func ( m * Map ) LoadOrStore ( key , value any ) ( actual any , loaded bool ) func ( m * Map ) Delete ( key any ) func ( m * Map ) LoadAndDelete ( key any ) ( value any , loaded bool ) func ( m * Map ) CompareAndDelete ( key , old any ) ( deleted bool ) func ( m * Map ) Swap ( key , value any ) ( previous any , loaded bool ) func ( m * Map ) CompareAndSwap ( key , old , new any ) ( swapped bool ) func ( m * Map ) Range ( f func ( key , value any ) bool ) func ( m * Map ) Clear () Both the readonly map and the dirty map share the same active entries, though the dirty map may contain more active entries than the readonly map.