• gamer@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      25 days ago

      Consider what the disassembly would look like. There’s no fast way to do it.

      It’s also unnecessary since 8 bytes is a negligible amount in most cases. Serialization is the only real scenario where it matters. (Edit: and embedded)

      • Croquette@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        25 days ago

        In embedded, if you are to the point that you need to optimize the bools to reduce the footprint, you fucked up sizing your mcu.