Re:Packing a string of digits into an integer quickly
by n2d4 on Saturday July 08, 2023 @07:36PM
(#36649838)
It doesn't distinguish, the non-digit character index is hardcoded into the bitmask (note the missing f in the second hex literal):
You are right that if you were to use a space in an unexpected position, the code wouldn't work.
[ Parent
| on HN ]
There are no comments on this comment yet.