
04-07-2007, 04:13 AM
|
Ruler of the graalaxy
|
Join Date: Feb 2005
Location: Great Britain
Posts: 488
|
|
Except Gscipt isn't compiled it's interpreted. If it were compiled then the compiler could optimise the statement (by turning it into if (var) ) but since it's interpreted I don't think theres any way to do it.
Anyway, the difference in speed is negligible. Just use if (var == true) if it makes it easier to read. |
__________________

Coming soon (Hopefully:P)
|
|
|