Versions in this module Expand all Collapse all v0 v0.0.1 Aug 22, 2023 Changes in this version + var ErrEmptyKey = errors.New("empty key provided") + var ErrNotFound = errors.New("key not found") + func BenchmarkPartitioned(b *testing.B) + func BenchmarkStd(b *testing.B) + func BenchmarkSyncStd(b *testing.B) + type HashSumPartitioner struct + func NewHashSumPartitioner(partitionsNum uint) *HashSumPartitioner + func (h *HashSumPartitioner) Find(key string) (uint, error) + type PartitionedMap struct + func NewPartitionedMap(partitioner partitioner, partsnum uint) *PartitionedMap + func NewPartitionedMapWithDefaultPartitioner(partsnum uint) *PartitionedMap + func (c *PartitionedMap) Del(key string) error + func (c *PartitionedMap) Get(key string) (any, error) + func (c *PartitionedMap) Set(key string, value any) error