|
-
March 1st, 2010, 04:10 PM
#1
* 8 vs << 3
I'm just curious, how many programmers explicitly do bit shifting? I'm sure that the compiler will convert a multiplication / division by a factor of 2 into a bit shift, but I tend to do it explicitly anyway and some people complain to me that that's more difficult to follow when they end up reading my code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|