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

[3.10] bpo-45116: Shrink interpreter by targetted revert of #25244 #28475

Merged
merged 1 commit into from
Sep 29, 2021

Conversation

markshannon
Copy link
Member

@markshannon markshannon commented Sep 20, 2021

By moving the pre-dispatch code (saving lasti, checking for tracing and advancing the instruction pointer) to just before the switch we save (N-1) copies of it (where N is the number of opcodes).

https://bugs.python.org/issue45116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants