File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


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.
 
GeeCON Prague 2014
 
subject: Isnt using & a performance issue?