[issue21955] ceval.c: implement fast path for integers with a single digit

Yury Selivanov report at bugs.python.org
Fri Feb 5 20:36:45 EST 2016


Yury Selivanov added the comment:

> Ok. Now I'm lost. We have so many patches :-) Which one do you prefer?

To no-ones surprise I prefer fastint5, because it optimizes almost all binary operators on both ints and floats.

inline-2.patch only optimizes just + and - for just ints.  If + and - performance of inline-2 is really important, I suggest to merge it in fastint5, but i'd keep it simple ;)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21955>
_______________________________________


More information about the Python-bugs-list mailing list