[issue22501] Optimise PyLong division by 1 or -1

Serhiy Storchaka report at bugs.python.org
Fri Sep 26 10:32:17 CEST 2014


Serhiy Storchaka added the comment:

Perhaps it would be worth to special case multiplying on 0, 1 and -1 and adding 0, 1 and -1 too.

----------
stage:  -> patch review

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


More information about the Python-bugs-list mailing list