[issue26342] Faster bit ops for single-digit positive longs

Yury Selivanov report at bugs.python.org
Fri Feb 12 14:42:49 EST 2016


Yury Selivanov added the comment:

> with patch: 0.404usec      without patch: 0.41

Sorry, I made a typo: these results should be flipped -- 0.41-0.404 is the overhead of the fastpath's 'if' check.  I'd say it's a pretty small overhead -- we already optimize all other long ops, including bit inversion.

----------

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


More information about the Python-bugs-list mailing list