[issue24076] sum() several times slower on Python 3 64-bit

Stefan Behnel report at bugs.python.org
Mon Sep 20 04:13:17 EDT 2021


Stefan Behnel <stefan_ml at behnel.de> added the comment:

I created a PR from my last patch, inlining the unpacking of single digit integers. Since most integers should fit into a single digit these days, this is as fast a path as it gets.

https://github.com/python/cpython/pull/28469

----------
versions: +Python 3.11 -Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue24076>
_______________________________________


More information about the Python-bugs-list mailing list