Skip to content

Performant Object Pool

Compare
Choose a tag to compare
@2401lucas 2401lucas released this 14 May 03:30
· 4 commits to main since this release
6f3a988

The new version of object pooling increases performance by using a queue instead of a list. We no longer need to iterate thru every Object in the list, now we can just pop one off of the top of the queue, with a queue for every different pool, it massively increases performance when iterating thru a large pool.