CrabScout. The best software around.
Search

Golang LRU

Keep a fixed number of recently accessed values in memory.

hashicorp · Code and testing

GitHub projectOpen source Open on GitHub

How to try it

In a new Go module, add github.com/hashicorp/golang-lru/v2 at v2.0.7. Use two cache slots and confirm the least-used sample entry is removed.

What we tested

v2.0.7. Use two cache slots and confirm the least-used sample entry is removed. Evicted only the least recently used fixture entry and kept Seeds.

Reviews

Rate this repo

More to explore

  • GleamWrite typed code for the Erlang virtual machine or JavaScript.GitHub projectOpen source
  • PixiSet up reproducible software environments for projects.GitHub projectOpen source
  • LycheeCheck that document links point to reachable paths.GitHub projectOpen source

Share

What the labels mean

Save to your library