Repository navigation
Releases: AIE-Lafayette/CritterOptimizationExercise
Releases · AIE-Lafayette/CritterOptimizationExercise
Release list
Bad Example
This application spawns 1000 little critter. The critters are despawned whenever they touch the big critter. Periodically waves of critters are despawned and respawned again. We can see in this version that the program stops for a minute while loading the next wave.
Better Example
This application is loading 1000 little critters. In this implementation an object pool is used to despawn and respawn all critters. You can see here that the game doesn't stop for loading.