Versions in this module Expand all Collapse all v0 v0.0.2 Feb 3, 2025 v0.0.1 Feb 3, 2025 Changes in this version + type Option func(*ShardingMap[K, V]) + func WithShardCount[K comparable, V any](count int) Option[K, V] + func WithShardingFunc[K comparable, V any](fn func(K) int) Option[K, V] + type Shard struct + type ShardingMap struct + func New[K comparable, V any](opts ...Option[K, V]) *ShardingMap[K, V] + func (sm *ShardingMap[K, V]) Delete(key K) + func (sm *ShardingMap[K, V]) ForEach(f func(K, V)) + func (sm *ShardingMap[K, V]) Get(key K) (V, bool) + func (sm *ShardingMap[K, V]) Len() int + func (sm *ShardingMap[K, V]) Set(key K, value V)