]> git.neil.brown.name Git - wiggle.git/commit
diff: filter out unmatchable lines before comparing.
authorNeilBrown <neil@brown.name>
Sat, 29 Aug 2020 07:06:27 +0000 (17:06 +1000)
committerNeilBrown <neil@brown.name>
Sat, 29 Aug 2020 07:06:27 +0000 (17:06 +1000)
commitdc22c433f2b1cca64a3e0e304bf023d2ab14e5a7
treecb60875bc4ace127eb3262e03a2916a8a88ce060
parent340562c3adbc542bc987c7e6ecc0a226ca415b70
diff: filter out unmatchable lines before comparing.

If either file has a run of 2 or more consecutive lines, none of which
appear in the other file, then reduce the run down to a single line.
This does not materially change the set of common-sub-lists that are
calculated, but it can make the calculate much faster when there is a
lot of unmatchable lines.

Signed-off-by: NeilBrown <neil@brown.name>
diff.c
wiggle.h