Difference between revisions of "Minimizing your Script"
no edit summary
imported>Halo112358 (added best practices section discussing early return calls vs if blocks) |
imported>KyleWollaston |
||
|
(some extremely long code block)
end</pre>
You can also do this:
<pre>;; optimized 2
begin GameMode
if (some condition)
if (some condition) == 0
return
endif
(some extremely long code block)
endif
end</pre>
| |||