http://qs1969.pair.com?node_id=611012


in reply to Re: bitwise shift operator
in thread bitwise shift operator

I can imagine that 2**32 might not be optimised into anything cheaper. 2.1**3.1 would always be expensive for example and you don't expect an interpreter to be looking for a bit-shift optimisation because that would slow ** down even more if one didn;t exist. By comparison, << is a very cheap operator when translated down to machine code level and ** is one of the dearest.
__________________________________________________________________________________

^M Free your mind!