cm0002@lemmy.world to Programmer Humor@programming.dev · 5 个月前Tell me the truth ...piefed.jeena.netimagemessage-square167linkfedilinkarrow-up1986arrow-down115
arrow-up1971arrow-down1imageTell me the truth ...piefed.jeena.netcm0002@lemmy.world to Programmer Humor@programming.dev · 5 个月前message-square167linkfedilink
minus-squaregamer@lemm.eelinkfedilinkarrow-up6arrow-down1·edit-25 个月前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-up5·5 个月前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.