Object pooling optimizations – not so much [yet]
[UPDATE] Clarified that I have two classes for my bullet. One which uses pooling, and another that does not use pooling. So my object pooling optimizations don’t seem to be working. I thought I would have seen some improvements in terms of my performance, but I’m just not seeing it. I think one issue is due to the fact that with more objects lying around, the garbage collector takes longer to run. Essentially, the pooling reduces how often the collector runs, but makes those runs more noticeable. ...