mirror of https://github.com/Wilfred/difftastic/
Use Myers' diff everywhere
The diff crate has a great ergonomic API, but it doesn't implement Myers' algorithm and performs badly on large inputs. https://github.com/utkarshkukreti/diff.rs/issues/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).pull/166/head
parent
dbf088bd25
commit
dad463daf5
Loading…
Reference in New Issue