Recent Go compiler can use a branch table for such a switch statement.
Recent Go compiler can use a branch table for such a switch statement.