Versions in this module Expand all Collapse all v0 v0.4.1 Feb 19, 2023 v0.4.0 Feb 14, 2023 Changes in this version + type PtrMap interface + LoadPtr func(K) *V + LoadPtrAndDelete func(K) (*V, bool) + LoadPtrOrStore func(K, V) (*V, bool) + RangePtr func(func(K, *V) bool) + TakePtr func(K, *V) v0.3.0 Jan 28, 2023 Changes in this version + func HashAny(h Hasher, obj T) uint v0.2.0 Jan 10, 2023 Changes in this version + const MaxArrayLen + func Mark(hash uint) uint + func Mask(hash uint) uint + type ExtendedMap interface + HasKey func(K) bool + LoadPtr func(K) *V + LoadPtrAndDelete func(K) (*V, bool) + LoadPtrOrStore func(K, V) (*V, bool) + RangePtr func(func(K, *V) bool) + Set func(K, V) *V + Size func() uint + Take func() (K, V) + TakePtr func(K, *V) + type FlagLock struct + Del bool + func (l *FlagLock) SafeLock() bool + func (l *FlagLock) SafeRLock() bool + type HashList struct + Array []V + Chunk byte + func (u HashList[V]) Get(hash uint) V + func (u HashList[V]) Index(hash uint) uint + func (u HashList[V]) Intv() uint + type Hasher maphash.Seed + func (u Hasher) HashAny(v any) uint + func (u Hasher) HashBytes(b []byte) uint + func (u Hasher) HashInt(v int) uint + func (u Hasher) HashMem(addr uintptr, length int) uint + func (u Hasher) HashString(v string) uint + type Map interface + Delete func(K) + Load func(K) (V, bool) + LoadAndDelete func(K) (V, bool) + LoadOrStore func(K, V) (V, bool) + Range func(func(K, V) bool) + Store func(K, V)