Choose Better Performance

Which of these lines of code will give better performance?
1. a | 4 + c >> b & 7;
2. (a | ((( 4 + c ) >> b ) & 7 ))
a) 1 will give better performance as it has no parentheses.
b) 2 will give better performance as it has parentheses.
c) Both 1 & 2 will give equal performance.
d) Dependent on the computer system

Replies

  • Jayaram Reddy
    Jayaram Reddy
    b

You are reading an archived discussion.

Related Posts

Micro-blogging major Twitter now offers its users more control of their uploaded pictures. The Twitter app for Android and iOS have been updated, and the photo filter grid has been...
sir, i am 2014 passed out (fresher) in mechanical branch. my question is as i'm a fresher can i take six sigma certification training ? and how about career in...
Reliance Jio is getting their website ready and the hawk eyed folks at the blog Telecom Talk got access to the test site. The information they saw about the broadband...
Bluetooth 4.2 specs are out and they're clearly hinting at a world where everything around you is connected to the Internet. But 'Internet' isn't the first thing that comes to...
Hello, I'm making my personal website, so wondering which domain extension would be better. I see a lot of personal sites with .me extension. On the other hand If we...