3 ms·
For some reason the wikipedia article does not mention the more efficient Myers diff approach. I have recently implemented it here: https://jasonhpriestley.com/
by jhpriestley 7y ago
For some reason the wikipedia article does not mention the more efficient Myers diff approach. I have recently implemented it here: https://jasonhpriestley.com/array-distance-and-recursion https://jasonhpriestley.com/array-distance-and-recursion (for edit distance but Levenshtein should work similarly)