]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-93516: Speedup line number checks when tracing. (GH-93763)
authorMark Shannon <mark@hotpy.org>
Mon, 20 Jun 2022 12:00:42 +0000 (13:00 +0100)
committerGitHub <noreply@github.com>
Mon, 20 Jun 2022 12:00:42 +0000 (13:00 +0100)
commitab0e60101637b7cf47f3cc95813996791e7118c4
treec0590854ab9e9137c872f0789763d7bb07151fb0
parent45e62a2bc1c0000e2e9b613fff6bebf2c26fcb93
GH-93516: Speedup line number checks when tracing. (GH-93763)

* Use a lookup table to reduce overhead of getting line numbers during tracing.
Include/cpython/code.h
Include/internal/pycore_code.h
Misc/NEWS.d/next/Core and Builtins/2022-06-13-10-48-09.gh-issue-93516.yJSait.rst [new file with mode: 0644]
Objects/codeobject.c
Python/ceval.c
Tools/scripts/deepfreeze.py