LRU Cache
- 发布
- 分类
- 算法基础
- 篇幅
- 127 字 / 1 分钟
- 阅读
- 460
python 使用 LRU Cache
from functools import lru_cache
@lru_cache(None)
def add(x, y):
return x+y
参考资料
https://www.jianshu.com/p/b1ab4a170c3c
Understanding the Meltdown exploit
缓存文件置换机制
缓存文件置换机制 中文