]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44511: Improve the bytecode for class and mapping patterns (GH-26922)
authorBrandt Bucher <brandt@python.org>
Wed, 27 Oct 2021 09:45:35 +0000 (02:45 -0700)
committerGitHub <noreply@github.com>
Wed, 27 Oct 2021 09:45:35 +0000 (10:45 +0100)
commit82a662e5216a9b3969054c540a759a9493468510
tree51bf9b433828dfd6d58f172097cf06202b54df9a
parent19a6c41e56f129a67e2a3c96464ba893a97236f7
bpo-44511: Improve the bytecode for class and mapping patterns (GH-26922)

* Refactor mapping patterns and speed up class patterns.

* Simplify MATCH_KEYS and MATCH_CLASS.

* Add COPY opcode.
Doc/library/dis.rst
Doc/whatsnew/3.11.rst
Include/opcode.h
Lib/importlib/_bootstrap_external.py
Lib/opcode.py
Misc/NEWS.d/next/Core and Builtins/2021-06-26-16-55-08.bpo-44511.k8sMvV.rst [new file with mode: 0644]
Programs/_freeze_importlib [new file with mode: 0755]
Python/ceval.c
Python/compile.c
Python/opcode_targets.h