dedup
dedup copied to clipboard
Simplify hex_digit()
With LUT, hex_digit() can be simplified to avoid if... branches and I replaced the modulo calculation too (index calculation will be protected even if NDEBUG is defined).
wow, nice one