Improving the performance of the parser and disambiguation filters by caching the hashCodes.