feat: incremental matcher rework #44
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
MatcherAPI should be the main entrypoint for consumers. We want to do as much work up front as possibleCurrently the copying, prefiltering, smith waterman, and storing scores have been implemented. We don't yet calculate typos, support incremental matching or push matches to the output. Preliminary benchmarks show 67ms vs 39ms on the chromium bench. By the end of this PR, I'm hoping to be ~20% away from the one shot bench.
Shout out ii14 for all the ideas :)