[issue44310] lru_cache memory leak
Ken Jin
report at bugs.python.org
Fri Jun 4 10:55:49 EDT 2021
Ken Jin <kenjin4096 at gmail.com> added the comment:
@Wouter
Hmm, I thought most use cases of lru_cache benefit from strong references for predictable hit rates? I'm not an expert in this area, so I nosied-in someone else who is.
However, I noticed that the current doc doesn't mention the strong reference behavior anywhere. So I think your suggestion to amend the docs is an improvement, thanks!
----------
nosy: +kj, rhettinger
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44310>
_______________________________________
More information about the Python-bugs-list
mailing list