Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bucketed ¶
type Bucketed[K constraints.Integer, V any] struct { // contains filtered or unexported fields }
func NewBucketed ¶
func NewBucketed[K constraints.Integer, V any](n int) Bucketed[K, V]
n defaults to 256.
type Builtin ¶
type Builtin[K comparable, V any] struct { // contains filtered or unexported fields }
func NewBuiltin ¶
func NewBuiltin[K comparable, V any]() *Builtin[K, V]
type Map ¶
type Map[K, V any] interface { Get(K) (_ V, ok bool) // Replaces. Add(K, V) (_ V, exists bool) Delete(K) (_ V, exists bool) }
Concurrent safe.
type Sync ¶
type Sync[K comparable, V any] struct { // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.