Speed up deduplication of expectations
The expectation deduplication algorithm called |Array.prototype.splice| to eliminate each individual duplication, which was slow. This caused problems with grammar/input combinations that generated a lot of expecations (see #377 for an example). This commit replaces the algorithm with much faster one, eliminating the problem.redux
parent
972cafbee0
commit
d34faba59e
Loading…
Reference in New Issue