10.12.2011, 23:26
Well there are few general suggestion:
-Run codes that take less time to execute as possibile (run few test if you are not sure of a code efficienty)
-Try to code in an intelligent way obviously
Good work.
- Not to create useless variables: Create as less variables as you can and manage them in an intelligent way.
- Efficient control of loops: foreach is a good alternative to not-continuous groups (for example players or vechiles)
- Efficient control of array: Do not create arrays with useless cells
- Use packed strings: Packed strings are a good way to save spaces and resources. These are not well known
- Using automata: Sometimes automata permits to save space
-Run codes that take less time to execute as possibile (run few test if you are not sure of a code efficienty)
-Try to code in an intelligent way obviously
Good work.