increased perforamnce for ast parser