[issue24076] sum() several times slower on Python 3 64-bit
Guido van Rossum
report at bugs.python.org
Mon Sep 20 19:17:22 EDT 2021
Guido van Rossum <guido at python.org> added the comment:
The patch looks fine, but it looks a bit like benchmark chasing. Is the speed of builtin sum() of a sequence of integers important enough to do this bit of inlining? (It may break if we change the internals of Py_Long, as Mark Shannon has been wanting to do for a while -- see https://github.com/faster-cpython/ideas/issues/42.)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue24076>
_______________________________________
More information about the Python-bugs-list
mailing list