Skip to content

Releases: AIE-Lafayette/CritterOptimizationExercise

Bad Example

Choose a tag to compare

@LodisAIE LodisAIE released this 07 Feb 17:37

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

Choose a tag to compare

@LodisAIE LodisAIE released this 07 Feb 17:31

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.