mirror of https://github.com/Wilfred/difftastic/
Switch to wu-diff for textual diffing
In #153 a user reported difftastic never terminated on a 140,000 file. This was due to the diff crate using a very large amount of time and memory. The diff crate does not use Myers' algorithm, which has a divide-and-conquer approach using snakes: https://blog.jcoglan.com/2017/03/22/myers-diff-in-linear-space-theory/ wu-diff does implement Myer's algorithm and performs much better on these large files.pull/297/head
parent
e8d9ffa61c
commit
afb1b369f4
Loading…
Reference in New Issue