]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-47053: Reduce deoptimization in BINARY_OP_INPLACE_ADD_UNICODE (GH-31318)
authorDennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
Fri, 25 Mar 2022 16:13:19 +0000 (12:13 -0400)
committerGitHub <noreply@github.com>
Fri, 25 Mar 2022 16:13:19 +0000 (16:13 +0000)
commitcca43b7d64f47ea921d0f7a347ae1a839c5463c3
treeed0908e033243be580acbee24140225ab5887ccf
parentd7163bb35d1ed46bde9affcd4eb267dfd0b703dd
bpo-47053: Reduce deoptimization in BINARY_OP_INPLACE_ADD_UNICODE (GH-31318)

* Don't deopt if refcounts are too big

* Detect more at specialization time
Include/internal/pycore_code.h
Misc/NEWS.d/next/Core and Builtins/2022-03-17-22-47-29.bpo-47053.QAXk8Q.rst [new file with mode: 0644]
Python/ceval.c
Python/specialize.c