]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45885: Specialize COMPARE_OP (GH-29734)
authorDennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
Fri, 3 Dec 2021 11:29:12 +0000 (04:29 -0700)
committerGitHub <noreply@github.com>
Fri, 3 Dec 2021 11:29:12 +0000 (11:29 +0000)
commit03768c4d139df46212a091ed931aad03bec18b57
tree35ab5e03aacded970ee0b1d21077f18782176c08
parent99fcf1505218464c489d419d4500f126b6d6dc28
bpo-45885: Specialize COMPARE_OP (GH-29734)

* Add COMPARE_OP_ADAPTIVE adaptive instruction.

* Add COMPARE_OP_FLOAT_JUMP, COMPARE_OP_INT_JUMP and COMPARE_OP_STR_JUMP specialized instructions.

* Introduce and use _PyUnicode_Equal
Include/cpython/unicodeobject.h
Include/internal/pycore_code.h
Include/opcode.h
Lib/opcode.py
Misc/NEWS.d/next/Core and Builtins/2021-11-23-21-01-56.bpo-45885.3IxeCX.rst [new file with mode: 0644]
Objects/unicodeobject.c
Python/ceval.c
Python/opcode_targets.h
Python/specialize.c