I\'m thinking about the tokenizer here. Each token calls a different function inside the parser. What is more efficient:
You don't say what type your tokens are. If they are not integers, you don't have a choice - switches only work with integer types.