Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data LFU k
- newLFU :: LFU k
- newtype LFUContentsOnlyEq k = LFUContentsOnlyEq (LFU k)
Documentation
Evict the least frequently used element from the cache. This means as an element is accessed, its "score" increases and the element is more likely to survive eviction once the cache fills up.
For testing
newtype LFUContentsOnlyEq k Source #
LFUContentsOnlyEq (LFU k) |