cachekit 0.2.0-alpha

High-performance cache primitives with pluggable eviction policies (LRU, LFU, FIFO, 2Q, Clock-PRO, S3-FIFO) and optional metrics.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# MRU (Most Recently Used)

## Goal
Evict the most recently accessed entry.

## Implementation
If you already have an LRU structure (recency-ordered list):
- LRU victim is the tail
- MRU victim is the head

So MRU is typically “LRU, but evict from head instead of tail”.

## Notes
MRU is only beneficial for specific cyclic patterns; it is not a safe default.

## References
- Wikipedia: https://en.wikipedia.org/wiki/Cache_replacement_policies