Hi there! I'm in the process of learning Rust, and it is amazing!
In my first project, I try to implement the Damerau Levenshtein as a python package with Pyo3. The first tests are working. However, compared to the C implementation, my Rust code runs 90% slower. Furthermore, I don't know how I can make the arguments generic to all types of objects (Compare the C implementation). Currently, my code only compares Integer lists.
My request: Is there someone who can review my code and may suggest improvements to boost the runtime?
Edit: I know that there are a lot of crates that already implement the dl distance. However, I want to compare list of objects and not only strings.