Quote:
Originally posted by Kaimetsu
It depends on Graal's inner workings. If you're using a literal compiler/interpreter that doesn't make a distinction between & and && then it's more efficient to split up the checks - if you combine them then it'll happily evaluate the whole condition without stopping to check if it's already invalidated itself.
|
Well, I think I said it before, but I am only talking about an:
if (event && flag=true) {
compared to:
if (event) {
if (flag==true) {
type situation - if the event occurs, how could it invalidate itself in either?
Or, are you talking about if the event doesn't occur at all? That's the only way I can think that it could be invalidated...