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 pablogsal
Recipients BTaskaya, Guido.van.Rossum, Johan Dahlin, Mark.Shannon, barry, bismatrimony, corona10, gvanrossum, methane, nascheme, pablogsal, yselivanov
Date 2021-01-30.02:41:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I am attaching to this issue a patch with PR 23503 restricted to only classes without dict. I can measure a speedup but is super small (5%) in a function that keeps calling a method for a builtin:

def foo(obj):
    for _ in range(10000):
        res = obj.index(42)
    return res
Date User Action Args
2021-01-30 02:42:00pablogsalsetrecipients: + pablogsal, gvanrossum, barry, nascheme, methane, Mark.Shannon, yselivanov, Guido.van.Rossum, corona10, Johan Dahlin, BTaskaya, bismatrimony
2021-01-30 02:42:00pablogsalsetmessageid: <>
2021-01-30 02:42:00pablogsallinkissue42115 messages
2021-01-30 02:42:00pablogsalcreate