[issue42161] Remove private _PyLong_Zero and _PyLong_One variables
Raymond Hettinger
report at bugs.python.org
Thu Mar 18 19:49:45 EDT 2021
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
I don't have a PR in-hand. I just ran across this when trying to explain 3.9 vs 3.10 timings and M-1 vs Intel timings. Ideally, all of these PRs should be reverted. Short of that, each change needs to be reviewed to see if it created extra work inside a loop. There are 35 calls to PyLong_GetOne and 3 for PyLong_GetZero. Each of those should be checked.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42161>
_______________________________________
More information about the Python-bugs-list
mailing list