multidiff 0.0.0

Diff an arbitary number of inputs
Documentation
  • Coverage
  • 20%
    1 out of 5 items documented0 out of 2 items with examples
  • Size
  • Source code size: 5.45 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.3 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • madsmtm/syn-merge
    1 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • madsmtm

Diff an arbitary number of inputs

Fundamentally, it works by constructing an input matrix like:

Key Data
0 aab
1 baa
2 bc
3 abc

And producing an output matrix like (may vary depending on algorithm details):

Char Appears In
a 0, 3
a 0
b 0, 1, 2, 3
a 1
a 1
c 2, 3

Note how this can encode the same information as a diff between just two elements:

Key Data
old aabc
new baac
Char Appears In
b new
a old, new
a old, new
b old
c old, new
+b
 a
 a
-b
 c