econjack:
However, you can also use a switch statement block which results in a jump table instead of logic tests and should be marginally faster.
And I've been wondering what the difference(s) might be between a string of if()s and a switch/case. Thanks!