package
1.0.0-rc.3
Repository: https://github.com/iotaledger/hive.go.git
Documentation: pkg.go.dev

# Functions

New returns a new ShrinkingMap.
WithShrinkingThresholdCount defines the count of deletions that triggers shrinking of the map.
WithShrinkingThresholdRatio defines the ratio between the amount of deleted keys and the current map's size before shrinking is triggered.

# Structs

Options define options for a ShrinkingMap.
ShrinkingMap provides a non concurrent-safe map that shrinks if certain conditions are met (AND condition).

# Type aliases

Option is a function setting an Options option.