cm0002@lemmy.world to Programmer Humor@programming.dev · 4 months agoTell me the truth ...piefed.jeena.netimagemessage-square97linkfedilinkarrow-up125arrow-down11
arrow-up124arrow-down1imageTell me the truth ...piefed.jeena.netcm0002@lemmy.world to Programmer Humor@programming.dev · 4 months agomessage-square97linkfedilink
minus-squareexcral@feddit.orglinkfedilinkarrow-up1·4 months agoIn terms of memory usage it’s a waste. But in terms of performance you’re absolutely correct. It’s generally far more efficient to check is a word is 0 than to check if a single bit is zero.
In terms of memory usage it’s a waste. But in terms of performance you’re absolutely correct. It’s generally far more efficient to check is a word is 0 than to check if a single bit is zero.