> We can use a switch with an integer which Go can optimize into a jump table.
I wasn't aware that golang switch statements were ever turned into jump tables. But then again, maybe they will be soon?
I wasn't aware that golang switch statements were ever turned into jump tables. But then again, maybe they will be soon?