RE: https://mastodon.ie/@luke/117454903433447964
Phwoar. When I saw the C code with a table lookup I was thinking “it’s unreasonable to pattern match and optimize this” but he actually did it. Fascinating example of the lengths C compilers go to optimize frankly unreasonable code