|
|
|
|
|
by dejaydev
13 days ago
|
|
I worry that this just adds complexity to most projects. The example in the readme is a Python function find_duplicates and poses to rewrite an implementation of Levenshtein in Rust. How do I know it's not faster than just switching to maintained software like RapidFuzz? Why would a maintainer want a dependency they can't understand in the hot path of their project? |
|
In the app you could refactor the slow code, or optimise the run the time without introducing Rust.
You could run an optimised micro service.
Finally it is most likely to be an issue with database transactions which can be solved with better queries, indexes, separate read/write, caching, batching, and so many other techniques to avoid non critical blocking.