cm0002@lemmy.world to Programmer Humor@programming.dev · 7 days agoTell me the truth ...piefed.jeena.netimagemessage-square165linkfedilinkarrow-up11.18Karrow-down117
arrow-up11.16Karrow-down1imageTell me the truth ...piefed.jeena.netcm0002@lemmy.world to Programmer Humor@programming.dev · 7 days agomessage-square165linkfedilink
minus-squareexcral@feddit.orglinkfedilinkarrow-up11·6 days 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.