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 yselivanov
Recipients Mark.Shannon, brett.cannon, gvanrossum, petr.viktorin, rhettinger, serhiy.storchaka, vstinner, yselivanov
Date 2021-02-17.23:48:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1613605735.68.0.0408957152149.issue42990@roundup.psfhosted.org>
In-reply-to
Content
> I tried to implement such optimization in my old https://faster-cpython.readthedocs.io/fat_python.html project. I implemented guards to de-optimize the code if a builtin is overriden.

FWIW the globals opcode cache handles all of this now. There's no point in specifically optimizing the builtins lookup since we optimize all global lookups for a code object that's hot enough.
History
Date User Action Args
2021-02-17 23:48:55yselivanovsetrecipients: + yselivanov, gvanrossum, brett.cannon, rhettinger, vstinner, petr.viktorin, Mark.Shannon, serhiy.storchaka
2021-02-17 23:48:55yselivanovsetmessageid: <1613605735.68.0.0408957152149.issue42990@roundup.psfhosted.org>
2021-02-17 23:48:55yselivanovlinkissue42990 messages
2021-02-17 23:48:55yselivanovcreate