because the time to select the right piece of code in each switch is constant instead of being linear with the number of possible values for the status variable.