difft::diff

Module lcs_diff

Source
Expand description

A fast diff for linear content, particularly lines of text.

This file uses the Histogram algorithm, using the imara-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 lhs and rhs.