-
- Downloads
gh-97912: Avoid quadratic behavior when adding LOAD_FAST_CHECK (GH-97952)
* The compiler analyzes the usage of the first 64 local variables all at once using bit masks. * Local variables beyond the first 64 are only partially analyzed, achieving linear time.
Showing
- Lib/test/test_peepholer.py 39 additions, 0 deletionsLib/test/test_peepholer.py
- Misc/NEWS.d/next/Core and Builtins/2022-10-06-06-36-29.gh-issue-97912.jGRJpa.rst 1 addition, 0 deletions...nd Builtins/2022-10-06-06-36-29.gh-issue-97912.jGRJpa.rst
- Python/compile.c 135 additions, 64 deletionsPython/compile.c
Loading
Please register or sign in to comment