11.04.2012, 12:49
Variant 1
Variant 2
Which code will cause less lag than other? Or they're same?
Код:
if(VariableSet) { print("OK"); return 1; } if(!VariableSet) { print("Not OK"); return 1; }
Код:
if(VariableSet) { print("OK"); return 1; } else if(!VariableSet) { print("Not OK"); return 1; }