|
|
|
|
|
by epwr
844 days ago
|
|
lru_cache has the benefit of being explicit about the replacement policy. So I find it more appropriate in cases where I want a size limit in the cache which, for me, is almost always. I’m not sure use cases you see caches in, but any long running process should likely have a size limit on the cache. |
|