cpython icon indicating copy to clipboard operation
cpython copied to clipboard

How to handle DECREF_INPUTS_AND_REUSE_FLOAT with deferred floats?

Open Fidget-Spinner opened this issue 1 year ago • 0 comments

DECREF_INPUTS_AND_REUSE_FLOAT and _Py_DECREF_SPECIALIZED are problematic in that they don't follow standard CPython reference semantics that we plan for the deferred refcounting.

The easiest solution would be to get rid of them. I don't know what's the perf hit from something like that, and whether we can recover it though.

Fidget-Spinner avatar May 10 '24 21:05 Fidget-Spinner