mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Update others/lru_cache.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
parent
81a2aa65a7
commit
5a48547bb1
@ -6,7 +6,7 @@
|
|||||||
* Lru is a part of cache algorithms (also frequently called cache replacement
|
* Lru is a part of cache algorithms (also frequently called cache replacement
|
||||||
* algorithms or cache replacement policies).
|
* algorithms or cache replacement policies).
|
||||||
*
|
*
|
||||||
* ### Logic:
|
* ### Logic
|
||||||
* * Discards the least recently used items first.
|
* * Discards the least recently used items first.
|
||||||
* * This algorithm requires keeping track of what was used when, which is
|
* * 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
|
* expensive if one wants to make sure the algorithm always discards the least
|
||||||
|
Loading…
x
Reference in New Issue
Block a user