4 ms·
Bit twiddling is always fun, especially where ASCII is concerned. This branchless hex parser[1] of mine was a fun half day to figure out, but was only possible
by zamalek 6y ago
Bit twiddling is always fun, especially where ASCII is concerned. This branchless hex parser[1] of mine was a fun half day to figure out, but was only possible because ASCII has some really useful properties.
[1]: https://gist.github.com/jcdickinson/9a4205287ae107e9f4e5f6764f432db9 https://gist.github.com/jcdickinson/9a4205287ae107e9f4e5f676...