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 gvanrossum
Recipients Mark.Shannon, brett.cannon, gvanrossum, petr.viktorin, rhettinger, serhiy.storchaka, vstinner, yselivanov
Date 2021-02-18.02:28:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1613615334.26.0.58917378675.issue42990@roundup.psfhosted.org>
In-reply-to
Content
> 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.

So you think that even a dedicated "LEN" opcode would not be any faster? (This is getting in Paul Sokolovsky territory -- IIRC he has a variant of Python that doesn't allow overriding builtins.)
History
Date User Action Args
2021-02-18 02:28:54gvanrossumsetrecipients: + gvanrossum, brett.cannon, rhettinger, vstinner, petr.viktorin, Mark.Shannon, serhiy.storchaka, yselivanov
2021-02-18 02:28:54gvanrossumsetmessageid: <1613615334.26.0.58917378675.issue42990@roundup.psfhosted.org>
2021-02-18 02:28:54gvanrossumlinkissue42990 messages
2021-02-18 02:28:54gvanrossumcreate