Expand description
A fast diff for linear content, particularly lines of text.
This file uses the Wu algorithm, using the wu-diff crate.
Difftastic has the files huge_cpp_1.cpp and huge_cpp_2.cpp in the sample_files directory for a performance stress test. These files are 22 MiB and 590,000 lines.
Enums
Functions
- slice 🔒Compute a linear diff between
lhsandrhs. - Compute a linear diff between
lhsandrhs, but use hashed values internally. - Compute the linear diff between
lhsandrhs. If there are items that only occur on a single side, mark them as novel without processing them with Myer’s diff.