Maybe it's just me, but I honestly don't know what this is doing near the HN top. It's more or less literal translation from C.
Take a simple problem like the FizzBuzz problem, write it as the simple obvious branching style. Now compile it with GCC or Clang (with -O3) and you end up with lookup table (or at least I did a few months back. Semantically equivalent but not literal "word for word" translation.