This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Use instruction offsets in co_lnotab
Type: enhancement Stage: patch review
Components: Interpreter Core Versions: Python 3.11
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: serhiy.storchaka
Priority: normal Keywords: patch

Created on 2021-10-04 11:11 by serhiy.storchaka, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 28722 open serhiy.storchaka, 2021-10-04 12:55
Messages (1)
msg403130 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2021-10-04 11:11
It was a part of the original patch for issue27129.

As well as in jumping instructions we can use instruction offsets instead of bytes offset in co_lnotab. It increases the range of offsets which can be encoded with a single byte, and therefore reduce the size of co_lnotab and its decoding time. It will allow to simplify the code if we use instruction offsets everywhere.
History
Date User Action Args
2022-04-11 14:59:50adminsetgithub: 89526
2021-10-04 12:55:44serhiy.storchakasetkeywords: + patch
stage: patch review
pull_requests: + pull_request27069
2021-10-04 11:11:07serhiy.storchakacreate