caching-0: Cache combinators.
Data.Cache.LRU
data LRUCache m (s :: Strategy) p k t v Source #
data Strategy Source #
Constructors
Priority is set on entry and not changed. | LIFO -- ^ A generally bad policy where the most recent thing is evicted.
Every lookup generates a new priority.
Priority is number of times looked up (tie breaker of order inserted?).