Improved parsing performance by sharing parsing history.