optimize for statement parsing