> Additionally, aren't switch statements massively slower than if/else-if?

Let's stay clear of micro-opt discussions.
Other PRs can clear up any perf issues once the foundation is done.