dedup icon indicating copy to clipboard operation
dedup copied to clipboard

Simplify hex_digit()

Open domag02 opened this issue 4 years ago • 1 comments

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).

domag02 avatar Oct 11 '21 14:10 domag02

wow, nice one

IvanVnucec avatar Nov 25 '21 01:11 IvanVnucec