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

Sign in to participate in the conversation

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.

Instance Administration

  • Woozle: Supreme Uberwensch, general support, web hostess
  • Charlotte: tech support, apprentice in warp-drive arcana (aka Mastomaintenance)
  • ash: backend stuff, gay crimes

The Project: