wood burning stoves 2.0*
The moose likes Performance and the fly likes Isnt using & a performance issue? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Isnt using & a performance issue?" Watch "Isnt using & a performance issue?" New topic
Author

Isnt using & a performance issue?

raj sekhar
Ranch Hand

Joined: Oct 16, 2001
Posts: 117
Isnt using & instead of && where usable is a performance issue?
Suggestions. For ex if I have a complicated if loop and using & with all of the conditions. I came across a code that was doing exactly the same for numerous complicated if loops.
Suggestions?
Raj
Paul Bailey
Ranch Hand

Joined: Oct 20, 2000
Posts: 91
I don't really understand your question, but i see no reason to use & except when there is an item in your conditional that needs to execute regardless of the result of the conditionals.
 
Don't get me started about those stupid light bulbs.
 
subject: Isnt using & a performance issue?