Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a new special case to
Parser::look_ahead
.
This new special case is simpler than the old special case because it only is used when `dist == 1`. But that's still enough to cover ~98% of cases. This results in equivalent performance to the old special case, and identical behaviour as the general case.
- Loading branch information