We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thank you for your great package I compared this package speed with other cpython pakages and it is slower. is it possible to improve the speed?
a = 'fsffvfdsbbdfvvdavavavavavava' b = 'fvdaabavvvvvadvdvavavadfsfsdafvvav' # levenshtein %%timeit import editdistance editdistance.eval(a, b) # 2.12 µs ± 14.1 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each) %%timeit from strsimpy.levenshtein import Levenshtein Levenshtein = Levenshtein() Levenshtein.distance(a,b) # 528 µs ± 990 ns per loop (mean ± std. dev. of 7 runs, 1000 loops each)```
The text was updated successfully, but these errors were encountered:
Thanks for your first issue!
Sorry, something went wrong.
editdistance is fast because it is implemented in C++. But this library is purely implemented in Python, so it is much slower.
editdistance
No branches or pull requests
Thank you for your great package
I compared this package speed with other cpython pakages and it is slower.
is it possible to improve the speed?
The text was updated successfully, but these errors were encountered: