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

Yury Selivanov report at bugs.python.org
Thu Feb 4 20:48:02 EST 2016


Yury Selivanov added the comment:

Antoine, FWIW I agree on most of your points :)  And yes, numpy, scipy, numba, etc rock.

Please take a look at my fastint4.patch.  All tests pass, no performance regressions, no crazy inlining of floating point exceptions etc.  And yet we have a nice improvement for both ints and floats.

----------

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


More information about the Python-bugs-list mailing list