First version of an ed diff applying algorithm
Add support for <n1>,<n2>
Implement a basic LCS algorithm between two smartlists
Use tor's INLINE, better names
Replace append (strcat) with tor_asprintf
Replace read_file with read_file_to_str
Switch to Hirschberg's linear space LCS algorithm
Run a bit faster by doing directions cheaper
Don't re-fetch the same line multiple times
Make some char* pointers constant
Make the algorithm output the diff, not the lcs
Remove some dead code
Slightly simplify some of the code
Reduce the direction bits to lcs_lens
Make the main function smaller
Switch to using the ed format
Simplify code by using smartlist_add_asprintf
No need to save all changes, do in reverse order
Use memcpy and tor_malloc_zero to avoid some loops
Clean up and simplify