[issue21955] ceval.c: implement fast path for integers with a single digit
Antoine Pitrou
report at bugs.python.org
Thu Feb 4 09:24:48 EST 2016
Antoine Pitrou added the comment:
Le 04/02/2016 15:18, Yury Selivanov a écrit :
>
> But it is faster. That's visible on many benchmarks. Even simple
timeit oneliners can show that. Probably it's because that such
benchmarks usually combine floats and ints, i.e. "2 * smth" instead of
"2.0 * smth".
So it's not about FP-related calculations anymore. It's about ints
having become slower ;-)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21955>
_______________________________________
More information about the Python-bugs-list
mailing list