How hard is it to check for whitespace?

17 points by serce


0x2ba22e11

Perfect hashing is ready cute! The implementation is very small and simple even though it's very fast: it's just the proof that it does actually work which is complicated. :D

notgull

The magic 1682554634 number does look magical, and it's unclear to me how it was chosen (please do share if you know the answer).

I think it’s usually just brute forced, right?