• Acters@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      16 days ago

      I was debating on bitwise operations, but decided on super basic if statements which I think the compiler would optimize, happy to see the logical operation form too