Perf: expandable SPS vs disposing and recreating a non-expandable SPS from scratch

Hi! Thanks as always for the wonderful library + support.

I have a use case where when a button is pushed I need to remove every particle in an SPS and add back new particles. The number of particles will vary somewhere between 100 and 10,000. Each particle is a Disc mesh. currently I dispose and deallocate the SPS and create a new one from scratch, but I recently came upon the expandable SPS and wonder if it will have better perf for this operation. What are the tradeoffs of the two approaches?

Thanks again,
George

It will (it should) be far better. The expandable is slower to render but has this unique feature of being updatable which makes it the best candidate for your use case