Why destroy the instances that need to be destroyed when instead you can re-use them, and avoid having to call the Create event on a New instance every time you need one? The Code Creating instances and destroying others constantly seems wasteful. If your program is spawning and destroying objects very frequently, calling the Create and Destroy Events many times per step, it’s potentially a lot of extra processing.
Instance pooling is a design pattern which can potentially help performance in games where you are creating and destroying a lot of instances. Why arguing about Link’s gender is dumb, and why it’s important.“Null Room” hidden in Superman (Atari, 1979).video games, programming, the internet, and stuff