MaxRusov / far-plugins

Automatically exported from code.google.com/p/far-plugins
49 stars 12 forks source link

VisualCompare feature: more compare algos #60

Open kimstik opened 2 years ago

kimstik commented 2 years ago

It would be nice to have choice of algorithm used. For examples diff uses 4 of them: Myers, Minimal, Patience, Histogram https://luppeng.wordpress.com/2020/10/10/when-to-use-each-of-the-git-diff-algorithms/

I would like an algorithm tolerant of garbage at the beginning of lines (typical assembler listing with line/address numbering) The following two pieces of code show the problem when compared:

1 mov
2 add
3 mul
4 div
1 mov
2 sub
3 add
4 mul
5 div