Categorygithub.com/opencoff/go-sieve
modulepackage
0.2.1
Repository: https://github.com/opencoff/go-sieve.git
Documentation: pkg.go.dev

# README

go-sieve - SIEVE is simpler than LRU

What is it?

go-sieve is golang implementation of the SIEVE cache eviction algorithm.

This implementation closely follows the paper's pseudo-code - but uses golang generics to provide an ergonomic interface.

# Functions

New creates a new cache of size 'capacity' mapping key 'K' to value 'V'.

# Structs

Sieve represents a cache mapping the key of type 'K' with a value of type 'V'.