• morrowind@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      23 minutes ago

      Even as a joke, this doesn’t avoid anything. The system scheduler just has to do the sorting using a regular algorithm

    • wise_pancake@lemmy.ca
      link
      fedilink
      arrow-up
      30
      arrow-down
      1
      ·
      10 hours ago

      I have a great performance optimization for this

      What if instead of 1s sleep, we did 0.5s sleep? That’s a 100% improvement.

    • devfuuu@lemmy.world
      link
      fedilink
      arrow-up
      9
      ·
      9 hours ago

      For anyone who controls time travel this is the fastest algorithm ever. Probably gonna change everything when we are traveling through space and passing by some dark holes.