You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
什么是缓存淘汰算法?如何实现LRU、LFU和FIFO | 静水深流
缓存淘汰算法,在进程中也被称作页面置换算法,即程序在运行时,若新访问的不在内存中而需将其存入内存,若此时内存已无多余空间,此时就需要从内存中清除一些数据来存储最新的访问数据,而这个算法就是针对需要淘汰的数据给出最优、最高效和命中率最高的方案.
https://slbyml.github.io/algorithm/cache.html
Beta Was this translation helpful? Give feedback.
All reactions