Uh oh!
There was an error while loading. Please reload this page.
gh-134584: Remove custom float decref ops - #142576
Conversation
markshannon
left a comment
There was a problem hiding this comment.
Can you leave the STACK_SIZE macro unchanged to avoid confusion and change https://github.com/python/cpython/pull/142576/files#diff-eac5ab7e741b8b825a24d31a5bf844e86086431fb698cfcabe1277b68c375ca2L199
instead.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
markshannon
commented
Dec 15, 2025
One thing to note for the future: We are losing the ability to reuse one of the operands if its refcount was one. A possible future optimization is to not only track which references are deferred, but which are the only reference to the object. We can then avoid the allocation & deallocation that occurs in |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.