Lurker News

Comments (491) 209 threads

Show all comments

Showing thread 33 of 209

ishi2 replies#
Levenshtein distance, a dynamic programming algorithm for determining the edit distance between two sequences - the number of insertions, deletions or substitutions required to convert one sequence to the other. https://en.wikipedia.org/wiki/Levenshtein_distance
jhallenworld#
Gosling used a variant of it to optimize screen updates in emacs.
Doxin#
Interestingly enough Levenshtein can also be implemented as an A* variation iirc.