The default pool in PixiRender actually makes rendering slower. Because it iterates through the object map to find the available body. The fast pool only collects dead particle body and the new particle will use the dead bodies. We keep the dead body in Container to avoid expense removeChid and addChid calls.
Also I improve Emitter performance by swaping the deleted element with last one and pop the last one instead of splicing. splice function removes an element in a middle of js array. It is very expensive.
The default pool in PixiRender actually makes rendering slower. Because it iterates through the object map to find the available body. The fast pool only collects dead particle body and the new particle will use the dead bodies. We keep the dead body in Container to avoid expense removeChid and addChid calls.
Also I improve Emitter performance by swaping the deleted element with last one and pop the last one instead of splicing. splice function removes an element in a middle of js array. It is very expensive.