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
5a48547bb1
commit
4e223bc3c7
@ -17,7 +17,7 @@
|
||||
* * In such an implementation, every time a cache-line is used, the age of
|
||||
* all other cache-lines changes
|
||||
*
|
||||
* ### Algorithm explanation:
|
||||
* ### Algorithm explanation
|
||||
* For a cache of page frame x:
|
||||
* * Check if the page is present in cache.
|
||||
* * If not present, then check is the cache is full or not:
|
||||
|
Loading…
Reference in New Issue
Block a user