Optimize parser speed