A better way of object pooling with impact.js (HTML5)
UPDATE: Object pooling has been added to the latest version (1.23) of Impact.js. Still, it’s good to know how pooling works! Moreover, the method for object pooling which I illustrate below creates zero garbage and is far more efficient. Your performance will improve considerably if you implement pooling in this manner. I’m nearly done with the sequel to…