optimization of switch case parsing