Versions in this module Expand all Collapse all v0 v0.0.1 Jun 4, 2026 Changes in this version + func Hash(what []byte) uint64 + type Cache struct + func New[T any](size int) *Cache[T] + func (c *Cache[T]) Add(key uint64, el T) bool + func (c *Cache[T]) Get(key uint64) (T, bool) + func (c *Cache[T]) Len() int + func (c *Cache[T]) Remove(key uint64) + func (c *Cache[T]) Walk(f func(map[uint64]T, uint64) bool)