optimized performance of parser.