Re:8-bit number to binary string
by rjmunro on Thursday November 05, 2015 @09:11AM
(#10513352)
Rather than add 0x3030303030303030, you could OR with it because you know there will never be a carry. This may save cycles on some architectures.
[ Parent
| on HN ]
There are no comments on this comment yet.