Re:A Bit Overcomplicated
by sudhirj on Thursday August 05, 2021 @11:45AM
(#28075341)
Yeah, I'm a little embarrassed to say I'd have used an array do what's in the example. I wouldn't have done all the unnecessary string conversions, but if I have a sequence of 64 things and I want the first 22 things that's a slice operation in my head, not a bit-shift, even if the things are bits.
[ Parent
| on HN ]
There are no comments on this comment yet.