Conversation
levenshtein
andygrove
marked this pull request as ready for review
July 14, 2026 09:15
|
Thank you for your contribution. Unfortunately, this pull request is stale because it has been open 60 days with no activity. Please remove the stale label or comment or this will be closed in 7 days. |
AdamGS
approved these changes
Sep 15, 2026
andygrove
enabled auto-merge
September 16, 2026 20:29
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #23543 +/- ##
=======================================
Coverage 81.93% 81.93%
=======================================
Files 1136 1136
Lines 429152 429244 +92
Branches 429152 429244 +92
=======================================
+ Hits 351633 351715 +82
- Misses 56475 56482 +7
- Partials 21044 21047 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Sep 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Which issue does this PR close?
N/A
Rationale for this change
Optimize existing expression.
What changes are included in this PR?
Added Myers' bit-parallel Levenshtein fast path for ASCII inputs whose shorter side fits in a 64-bit word, replacing the per-cell character-wise DP with a few bitwise ops per text character.
Are these changes tested?
Existing tests + new unit tests.
Benchmark (criterion):
Full criterion output:
Are there any user-facing changes?
No