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

STINNER Victor report at bugs.python.org
Fri Feb 5 10:58:18 EST 2016


STINNER Victor added the comment:

bench_long2.py: my updated microbenchmark to test many types and more operations.

compare.txt: compare Python original, fastint_alt.patch, fastintfloat_alt.patch and fastint5.patch. "(*)" marks the minimum of the line, percents are relative to the minimum (if larger than +/-5%).

compare_to.txt: similar to compare.txt, but percents are relative to the original Python.

----------
Added file: http://bugs.python.org/file41821/bench_long2.py

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


More information about the Python-bugs-list mailing list