Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: use hashing for switch statements #34381
Currently we implement switch statements with binary search. This works well for values that fit into a register, but for strings it might be better to compute a hash function.
If someone can help figure out code that can take a