top | item 39505692

(no title)

epwr | 2 years 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.

discuss

order

No comments yet.