New submission from Mark Shannon <m...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue42719>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to