You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Specialize LOAD_METHOD with PEP 659 adaptive interpreter #89052
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2021-08-17.15:26:06.425>created_at=<Date2021-08-11.12:43:20.700>labels= ['interpreter-core', '3.11']
title='Specialize LOAD_METHOD with PEP 659 adaptive interpreter'updated_at=<Date2021-08-17.15:26:06.425>user='https://github.com/Fidget-Spinner'
Activity
Fidget-Spinner commentedon Aug 11, 2021
Possible specializations:
LOAD_METHOD_CACHED
Cache the method. We only need to check that type(o) and o.__dict__ was not modified.
LOAD_METHOD_CLASS
For classmethods. Less speedup expected.
LOAD_METHOD_MODULE
For module methods. Uncommon (<10%).
Please see faster-cpython/ideas#81 for more details.
markshannon commentedon Aug 17, 2021
New changeset 96346cb by Ken Jin in branch 'main':
bpo-44889: Specialize LOAD_METHOD with PEP-659 adaptive interpreter (GH-27722)
96346cb
Fidget-Spinner commentedon Aug 17, 2021
Some improvements can be made (see #27722 (comment)), but for the most part we're done.