cm0002@lemmy.world to Programmer Humor@programming.dev · 8 months agoTell me the truth ...piefed.jeena.netexternal-linkmessage-square169fedilinkarrow-up11.19Karrow-down117
arrow-up11.17Karrow-down1external-linkTell me the truth ...piefed.jeena.netcm0002@lemmy.world to Programmer Humor@programming.dev · 8 months agomessage-square169fedilink
minus-squareexcral@feddit.orglinkfedilinkarrow-up12·8 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.