R. David Murray added the comment:

Oh, my apologies.  I was not reading your message with enough attention, you 
are only talking about the zero case.  A check for zero would not be crazy, and 
I think there are enough operations involved in left shift that the performance 
impact would not be measurable.  I'll leave that to the math experts, though.

----------
nosy: +mark.dickinson

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue27870>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to