diff options
author | Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com> | 2022-12-20 20:46:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-20 20:46:16 (GMT) |
commit | c18d83118881333b9a0afd0add83afb2ba7300f7 (patch) | |
tree | 58bdb847e50dcd0ccff6e9e0ed3a5378e6e7f674 /Misc | |
parent | 44892d45b038f919b0378590a776580a9d73b291 (diff) | |
download | cpython-c18d83118881333b9a0afd0add83afb2ba7300f7.zip cpython-c18d83118881333b9a0afd0add83afb2ba7300f7.tar.gz cpython-c18d83118881333b9a0afd0add83afb2ba7300f7.tar.bz2 |
gh-100188: Reduce misses in BINARY_SUBSCR_(LIST/TUPLE)_INT (#100189)
Don't specialize if the index is negative.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2022-12-12-05-30-12.gh-issue-100188.sGCSMR.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-12-12-05-30-12.gh-issue-100188.sGCSMR.rst b/Misc/NEWS.d/next/Core and Builtins/2022-12-12-05-30-12.gh-issue-100188.sGCSMR.rst new file mode 100644 index 0000000..ec62fbd --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2022-12-12-05-30-12.gh-issue-100188.sGCSMR.rst @@ -0,0 +1,3 @@ +The ``BINARY_SUBSCR_LIST_INT`` and ``BINARY_SUBSCR_TUPLE_INT`` +instructions are no longer used for negative integers because +those instructions always miss when encountering negative integers. |