Quote:
|
Originally Posted by ApothiX
I lied, one more post.
Good job for proving that both are the exact same amount of steps, and the same amount of work required by the applications.
|
Uh, no.
function() returns true
that's one step
true is equivalent to true
that's two steps
function returns true
that's one step
When you do
function() returns false
false is equivalent to false
that's two steps too
also
function() returns false
the ! operator negates false to true.
there's two steps
However, you wouldn't know if the ! operator is faster than the == operator in gscript. But for true values there's more steps in comparison by ==true.