[issue1205239] Let shift operators take any integer value
Mark Dickinson
report at bugs.python.org
Tue Jan 26 12:05:17 CET 2010
Mark Dickinson <dickinsm at gmail.com> added the comment:
One other thought: you could always compute the expression
crc >> (crc_width - 8)
as
crc << 8 >> crc_width
Since you're computing crc << 8 anyway, this doesn't increase the operations count, so probably wouldn't significant impact performance.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1205239>
_______________________________________
More information about the Python-bugs-list
mailing list