• morrowind@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    “I’m writing a recursive method with threads to optimize the CPU usage in a 0.02%” THIS IS A NONSENSICAL STATEMENT MADE BY DERANGED PEOPLE

    I mean this is correct though

    • stingpie@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      Recursion makes it cheaper to run in the dev’s mind, but more expensive to run on the computer. Subroutines are always slower than a simple jump.