13.05.2015, 17:05
I never said more speed was the best did I? I more interested in seeing what would out perform what. As for compatibility again that is a complete non-issue those constants will never change 
Obviously the switch() would be the best choice given the criteria you listed.

Obviously the switch() would be the best choice given the criteria you listed.