You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@utkarshkukreti I'm using this crate in difftastic and it works really well, but it struggles on larger inputs (e.g. >50,000 line file comparisons). What algorithm does diff.rs use today?
Wilfred
added a commit
to Wilfred/difftastic
that referenced
this issue
Mar 12, 2022
The diff crate has a great ergonomic API, but it doesn't implement
Myers' algorithm and performs badly on large inputs.
utkarshkukreti/diff.rs#1
Now that we have a wrapper wu_diff that provides a similar API,
replace the remaining call sites to diff::slice(). These are
relatively cold, so this is a small performance improvement (1%
instruction reduction).
http://www.xmailserver.org/diff2.pdf
The text was updated successfully, but these errors were encountered: