3 ms·
While the objects in the pools or stacks may seem transient (on your screen for only a few moments), one simple technique is to only allocate those objects at l
by phantarch 10y ago
While the objects in the pools or stacks may seem transient (on your screen for only a few moments), one simple technique is to only allocate those objects at load time and then flip them in an "on" or "off" state during gameplay. That way you're not doing any real allocation after your game space has loaded.