[issue42903] optimize lru_cache for functions with no arguments

Eugene Toder report at bugs.python.org
Tue Jan 12 10:28:29 EST 2021


Eugene Toder <eltoder at gmail.com> added the comment:

@cache does not address the problem or any of the concerns brought up in the thread. Thread-safe @once is a nice idea, but more work of course.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42903>
_______________________________________


More information about the Python-bugs-list mailing list