cm0002@lemmy.world to Programmer Humor@programming.dev · 7 天前Tell me the truth ...piefed.jeena.netimagemessage-square165linkfedilinkarrow-up11.17Karrow-down117
arrow-up11.16Karrow-down1imageTell me the truth ...piefed.jeena.netcm0002@lemmy.world to Programmer Humor@programming.dev · 7 天前message-square165linkfedilink
minus-squaregamer@lemm.eelinkfedilinkarrow-up6arrow-down1·edit-26 天前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)
minus-squareCroquette@sh.itjust.workslinkfedilinkarrow-up4·6 天前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.
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)
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.