• Acters@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      23 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