Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

faster levenshtein #8516

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

faster levenshtein #8516

wants to merge 2 commits into from

Conversation

ka-weihe
Copy link

Summary
This PR changes the levensthein distance package from leven to fastest-levenshtein. leven is one of the slowest levenshtein packages out there and the author is trying to deceive people with shitty benchmarks where he is only comparing it slower packages. Please consider using fastest-levenshtein instead which is 10x faster and much higher quality.

Test plan
fastest-levenshtein is a drop-in replacement of leven. Many packages have already done this replacement. It has been tested by fuzzing with 100% branch coverage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant