Documentation ¶
Index ¶
- func MakeTrackedMap[M ~map[K]V, K comparable, V any](size int) M
- func NewTrackedMapLit[M ~map[K]V, K comparable, V any](size int) lit[M, K, V]
- func PanicUnorderedKeys[K comparable, V any](m map[K]V) map[K]V
- func TrackMap[K comparable, V any](m map[K]V) map[K]V
- func TrackedDelete[K comparable, V any](m map[K]V, k K)
- func TrackedPut[K comparable, V any](m map[K]V, k K, v V) struct{}
- type MapIter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeTrackedMap ¶
func MakeTrackedMap[M ~map[K]V, K comparable, V any](size int) M
func NewTrackedMapLit ¶
func NewTrackedMapLit[M ~map[K]V, K comparable, V any](size int) lit[M, K, V]
func PanicUnorderedKeys ¶
func PanicUnorderedKeys[K comparable, V any](m map[K]V) map[K]V
func TrackMap ¶
func TrackMap[K comparable, V any](m map[K]V) map[K]V
func TrackedDelete ¶
func TrackedDelete[K comparable, V any](m map[K]V, k K)
func TrackedPut ¶
func TrackedPut[K comparable, V any](m map[K]V, k K, v V) struct{}
Types ¶
type MapIter ¶
type MapIter[K comparable, V any] struct { // contains filtered or unexported fields }
func NewSortedIter ¶
func NewSortedIter[K constraints.Ordered, V interface{}](m map[K]V) *MapIter[K, V]
func TrackedIter ¶
func TrackedIter[K comparable, V any](m map[K]V) *MapIter[K, V]
Click to show internal directories.
Click to hide internal directories.