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

GH-90690: Remove PRECALL instruction #92925

Merged
merged 2 commits into from May 19, 2022
Merged

Conversation

markshannon
Copy link
Member

@markshannon markshannon commented May 18, 2022

The PRECALL instruction exists only to assist in specializing bound-methods and calls to Python classes.

We can get almost all the benefit ofr bound-methods by adding another specialization of CALL, and it looks like the best approach to specialize calls to Python classes is push a shim frame.

So, it makes sense to remove the PRECALL instruction.

@markshannon
Copy link
Member Author

@markshannon markshannon commented May 18, 2022

About 1% faster

@markshannon markshannon requested a review from Fidget-Spinner May 18, 2022
@markshannon markshannon added the 🔨 test-with-buildbots label May 18, 2022
@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented May 18, 2022

🤖 New build scheduled with the buildbot fleet by @markshannon for commit bad98cf 🤖

If you want to schedule another build, you need to add the "🔨 test-with-buildbots" label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots label May 18, 2022
@markshannon markshannon merged commit e48ac9c into python:main May 19, 2022
86 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants