News for hackers. Stuff that matters.
Re:Making Rust as Fast as Go by savaki on Sunday May 03, 2020 @02:35PM (#23060933)
A few folks have commented that there were logic errors in the Go version. Specifically that

  len("föö") = 5
should instead have returned

  len("föö") = 3
I submitted a pull request, https://github.com/christianscott/levenshtein-distance-bench..., that fixes these issues in the Go implementation.

Interestingly enough, when I re-ran the benchmark, the Go version is roughly 19% faster than it was previously:

  old: 1.747889s
  new: 1.409262s (-19.3%)

There are no comments on this comment yet.