it turns out that a simple insertion sort performs *much* better than quicksort on my particle array. one of those times where time complexity can lead towards the wrong solution.
performance is still not great, though. I can only sort ~2000-2500 before performance tanks.
can't deny how sorting by particle age gives a nice result
A Mastodon instance for cats, the people who love them, and kindness in general. We strive to be a radically inclusive safe space.
By creating an account, you agree to follow our CoC below.