in reply to Re^2: Suffix-prefix matching done right
in thread Suffix-prefix matching done right

Ah, True. In a different example, "abcdef" and "abcdef" would iteratively have an edit distance of 1, 2, 3, 4, 2, and then suddenly 0. So you would need to check all lengths.
  • Comment on Re^3: Suffix-prefix matching done right