This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eltoder
Recipients eltoder, python-dev, rhettinger, serhiy.storchaka, vstinner
Date 2021-01-12.06:12:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610431942.94.0.279506047858.issue42903@roundup.psfhosted.org>
In-reply-to
Content
As you can see in my original post, the difference between @cache (aka @lru_cache(None)) and just @lru_cache() is negligible in this case. The optimization in this PR makes a much bigger difference. At the expense of some lines of code, that's true.

Also, function calls in Python are quite slow, so being faster than a function call is not a high bar.
History
Date User Action Args
2021-01-12 06:12:22eltodersetrecipients: + eltoder, rhettinger, vstinner, python-dev, serhiy.storchaka
2021-01-12 06:12:22eltodersetmessageid: <1610431942.94.0.279506047858.issue42903@roundup.psfhosted.org>
2021-01-12 06:12:22eltoderlinkissue42903 messages
2021-01-12 06:12:22eltodercreate