LRU 算法分析与简单实现

2018-04-27
阅读 3 分钟
2.9k
Discards the least recently used items first. This algorithm requires keeping track of what was used when, which is expensive if one wants to make sure the algorithm always discards the least recently used item. General implementations of this technique require keeping "age bits" for cache-lines ...