None of this will really make much impact on speed. Your biggest bottleneck is likely to be graphics drawing (and sometimes intense math, eg. physics). You should really concentrate on readability (and reusability and functionality) rather that concerning your self with tiny speed increases. If you really want to make a difference follow these rules:
1) Use SuperStrict
2) Always use Locals where possible.
3) Use OO principles. Preferably consistantly.
4) Use Ints and Floats as needed. Avoid Bytes etc.
5) Optimise at the last possible moment and only when really necessary.
1) Use SuperStrict
2) Always use Locals where possible.
3) Use OO principles. Preferably consistantly.
4) Use Ints and Floats as needed. Avoid Bytes etc.
5) Optimise at the last possible moment and only when really necessary.