◐ Shell
clean mode source ↗

[3.11] GH-93516: Backport GH-93769: Speedup line number checks when tracing (GH-94127) by markshannon · Pull Request #94127 · python/cpython

)

* Use a lookup table to reduce overhead of getting line numbers during tracing.

@markshannon markshannon changed the title [3.11] GH-93516: Backport GH-93769: Store offset of first traceable instruction in code object [3.11] GH-93516: Backport GH-93769: Speedup line number checks when tracing.

Jun 22, 2022

This was referenced

Jun 22, 2022

@pablogsal

pablogsal

@pablogsal pablogsal changed the title [3.11] GH-93516: Backport GH-93769: Speedup line number checks when tracing. [3.11] GH-93516: Backport GH-93769: Speedup line number checks when tracing

Jun 22, 2022

@pablogsal pablogsal changed the title [3.11] GH-93516: Backport GH-93769: Speedup line number checks when tracing [3.11]GH-93516: Backport GH-93769: Speedup line number checks when tracing

Jun 22, 2022

@pablogsal pablogsal changed the title [3.11]GH-93516: Backport GH-93769: Speedup line number checks when tracing [3.11] GH-93516: Backport GH-93769: Speedup line number checks when tracing

Jun 22, 2022

@pablogsal pablogsal changed the title [3.11] GH-93516: Backport GH-93769: Speedup line number checks when tracing [3.11] GH-93516: Backport GH-93769: Speedup line number checks when tracing (GH-94127)

Jun 22, 2022