cm0002@lemmy.world to Programmer Humor@programming.dev · 8 days agoTell me the truth ...piefed.jeena.netexternal-linkmessage-square150fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkTell me the truth ...piefed.jeena.netcm0002@lemmy.world to Programmer Humor@programming.dev · 8 days agomessage-square150fedilink
minus-squareJankatarch@lemmy.worldlinkfedilinkarrow-up0·edit-27 days agoI mean is it really a waste? What’s minimum amount of bits most CPUs read in one cycle.
minus-squareexcral@feddit.orglinkfedilinkarrow-up0·7 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.
I mean is it really a waste? What’s minimum amount of bits most CPUs read in one cycle.
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.