package
1.15.2
Repository: https://github.com/ethereum/go-ethereum.git
Documentation: pkg.go.dev

# Functions

NewBasicLRU creates a new LRU cache.
NewCache creates an LRU cache.
NewSizeConstrainedCache creates a new size-constrained LRU cache.

# Structs

BasicLRU is a simple LRU cache.
Cache is a LRU cache.
SizeConstrainedCache is a cache where capacity is in bytes (instead of item count).