Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge LOAD_METHOD back into LOAD_ATTR for better specialization #93429

Closed
Fidget-Spinner opened this issue Jun 2, 2022 · 1 comment · Fixed by #93430 or #93803
Closed

Merge LOAD_METHOD back into LOAD_ATTR for better specialization #93429

Fidget-Spinner opened this issue Jun 2, 2022 · 1 comment · Fixed by #93430 or #93803
Labels
3.12 performance type-feature

Comments

@Fidget-Spinner
Copy link
Member

@Fidget-Spinner Fidget-Spinner commented Jun 2, 2022

LOAD_METHOD split off from LOAD_ATTR in 3.7 as a compiler based optimisation.

I proposed to merge it back to enable better specialization. The actual LOAD_METHOD instruction is left around as a virtual instruction at the moment.

See faster-cpython/ideas#400 (reply in thread)

@Fidget-Spinner
Copy link
Member Author

@Fidget-Spinner Fidget-Spinner commented Jun 14, 2022

Reopening to remind myself to complete docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.12 performance type-feature
Projects
None yet
1 participant