quasilyte/go-perfguard

Reorder type switch cases based on their probability

quasilyte opened this issue · 0 comments

If one branch is dominating the others, it should probably be moved above the others.

TODO: check that it's still the case with a recent Go version. Maybe it's not faster nowadays to reorder the type switch cases.