Source

Branch

1/ @AstrodogX

@nicbarkeragain

It’s a beautiful thing but also pointless and unreadable unless in an environment that can’t afford an if statement. There is something beautiful about using bitwise ops to index into an array to O(1) performance though, even if most compilers optimize out the branches.