"If I understand correctly, the switch case is the fastest method?" . . . . .