Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Map ¶
type Map[Key comparable, Value any] struct { // contains filtered or unexported fields }
Map provides a concurrency safe wrapper round a map[Key]Value optimized heavily for read speeds. Writes will reallocate the existing contents of the map on each ocurrence.
type SmallPtrMap ¶ added in v1.1.1
type SmallPtrMap struct {
// contains filtered or unexported fields
}
SmallPtrMap is an array of raw (unsafe) pointers of length equal to the number of possible values contained in a uint8. All read / write operations are performed atomically.
Click to show internal directories.
Click to hide internal directories.