proxy.golang.org : github.com/NdoleStudio/lfu-cache/v2
Package lfucache an in memory least frequently used (LFU) cache. All operations have with O(1) complexity. When evicting an item from the cache, if 2 items have the same frequency the (least recently used) LRU item is evicted. Ideally, you should provide a wrapper around this class to ensure strict type checks for keys and values that can be put into the cache.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/%21ndole%21studio/lfu-cache/v2
Keywords:
algorithm
, cache
, go
, lfu-cache
, lfu-implementation
License: MIT
Latest release: over 1 year ago
First release: over 1 year ago
Namespace: github.com/NdoleStudio/lfu-cache
Stars: 8 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 15 days ago