In this chapter, we will cover:
Optimizing your game's performance
Using the EQATEC Profiler to profile your game's running time
Reducing the game contents' loading time
Improving game performance with garbage collection (GC)
Performance and efficiency are like the Sword of Democritus hanging over the head of programmers. We should know how to make our applications run faster. We should choose a proper algorithm that executes quicker and consumes less memory; we should know the positive and negative aspects of using different compilers. Actually, every game has a certain fixed amount of available computing resources. Due to market forces, programmers must make sure that their games provide a good playing experience. Optimization should always be done holistically. Having a big picture first and then drilling down until you find the specific problem reduces your game performance. The difference between a novice and master chess player...