cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agoTell me the truth ...piefed.jeena.netimagemessage-square132fedilinkarrow-up11.13Karrow-down116
arrow-up11.11Karrow-down1imageTell me the truth ...piefed.jeena.netcm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square132fedilink
minus-squareexcral@feddit.orglinkfedilinkarrow-up10·14 hours 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.