- Joined
- Nov 25, 2008
- Messages
- 1,309
One of my maps had a dialog displayed at the start of the game. It took around 2 seconds to unlag and show it (after loading screen). This is the initialization trigger. I recoded it and now the dialog is displayed instantly.Optimization should be done after the code is written and working. A bad performance can also be a sign of a bug in the code. Also, code that is ran once per run (initialization, and releasing) doesn't need to be optimized nearly as much as things that are ran multiple times (triggers, timers, etc).However, Muzzel, you are correct here in that the increased coding efficiency outweighs the performance impact purely because that the performance impact is tiny compared to the gain in coding speed.