[New-bugs-announce] [issue42719] Eliminate NOPs in the assembler, by emitting zero-width entries in the line number table

Mark Shannon report at bugs.python.org
Tue Dec 22 09:08:13 EST 2020


New submission from Mark Shannon <mark at hotpy.org>:

This will require a change to the internal line number table format.

PEP 626 requires all lines are traced, which makes handling of 'continue' and other jump-to-jumps inefficient if spread across multiple lines.

In 3.9 many jump-to-jumps were eliminated, but PEP 626 requires that many are converted to a NOP. Zero-width line number table entries will allow us to eliminate most, if not all, remaining NOPs in the assembler.

----------
assignee: Mark.Shannon
components: Interpreter Core
messages: 383590
nosy: Mark.Shannon
priority: normal
severity: normal
stage: needs patch
status: open
title: Eliminate NOPs in the assembler, by emitting zero-width entries in the line number table
type: performance
versions: Python 3.10

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


More information about the New-bugs-announce mailing list