nguoiyoujie / SWEndor

Recreation of a simple 3D space-combat sim
19 stars 2 forks source link

Use object pools for objects with high turnover rates #6

Closed nguoiyoujie closed 4 years ago

nguoiyoujie commented 5 years ago

Some object classes are created and destroyed rapidly. This can increase performance overhead and run into high rates of garbage collection, which can interfere with the smoothness of the game.

ActorInfo

ActionInfo