obiot/melonJS — pull request #151 by nvlbg (2012-12-29 22:40:01+00:00)
Title: Adds object pooling into me.entityPool

With this patch me.entityPool could be used as object pool for each class. That way garbage collection is going to be reduced, since objects are going to be reused. I based the patch on this article - http://buildnewgames.com/garbage-collector-friendly-code/. I currently use it in my game - https://github.com/nvlbg/game/