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

Serhiy Storchaka report at bugs.python.org
Wed Feb 3 14:19:30 EST 2016


Serhiy Storchaka added the comment:

Fast patch is already implemented in long_mul(). May be we should just use this function if both arguments are exact int, and apply the switch optimization inside.

----------

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


More information about the Python-bugs-list mailing list