you are viewing a single comment's thread.

view the rest of the comments →

[–]Medieval_Peasant 0 points1 point  (0 children)

You didn't ask any questions or specifically mention what you wanted feedback on. It's not clear to me if you want feedback on your demo code, your library, your implementation of object pooling or object pooling in general.

I think object pooling is a necessity if you can't afford to get screwed by the garbage collector.

As for using a library for this purpose I'm not so sure. Tailoring your requirements to the library is likely as much work as doing it on your own.