Labels that appear first in a switch statement are tested first. So, if your switch statement contains labels that are selected most of the time, put them first in your source code. This will speed up the code.