[New-bugs-announce] [issue45363] Use instruction offsets in co_lnotab

Serhiy Storchaka report at bugs.python.org
Mon Oct 4 07:11:07 EDT 2021


New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:

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.

----------
components: Interpreter Core
messages: 403130
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Use instruction offsets in co_lnotab
type: enhancement
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45363>
_______________________________________


More information about the New-bugs-announce mailing list