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
Make all jump opcodes relative #91276
Labels
3.11
interpreter-core
Interpreter core (Objects, Python, Grammar, and Parser dirs)
performance
Performance or resource usage
Comments
|
For some of our jump opcodes target is absolute, so it can easily require EXTENDED_ARGS. Our analysis [1] shows that turning all absolute jumps into relative jumps will eliminate almost all EXTENDED_ARGS on jumps. This will require a _BACK version for each jump type, which negates the oparg. |
|
Another benefit of this work is that we'll be able to remove |
iritkatriel
added a commit
that referenced
this issue
Apr 12, 2022
gvanrossum
added a commit
to gvanrossum/cpython
that referenced
this issue
Apr 13, 2022
iritkatriel
added a commit
that referenced
this issue
Apr 15, 2022
|
This is complete. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3.11
interpreter-core
Interpreter core (Objects, Python, Grammar, and Parser dirs)
performance
Performance or resource usage


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:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: