[New-bugs-announce] [issue47120] Make all jumps relative
Irit Katriel
report at bugs.python.org
Fri Mar 25 10:30:53 EDT 2022
New submission from Irit Katriel <iritkatriel at gmail.com>:
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.
[1] https://github.com/faster-cpython/ideas/discussions/235#discussioncomment-2417022
----------
assignee: iritkatriel
components: Interpreter Core
messages: 416003
nosy: iritkatriel
priority: normal
severity: normal
status: open
title: Make all jumps relative
type: performance
versions: Python 3.11
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47120>
_______________________________________
More information about the New-bugs-announce
mailing list