In recent experiments with searching 500,000 records in a matrix, I found that the if/then control structure was a bit faster than the switch control structure. In this situation, there was only a single comparison, not a long list of alternative comparisons (a long list of "else/if/then" components) Are there situations where switch is faster than if/then?