sans the implementation of the index lookup table(s) The algorithm is KISS, a variant of insertion sort, i.e. worst time quadratic, but known to perform well on small data sets. The mere generation of the diff description is O(n log n), since we do not verify that we can "find" out of order elements. We leave this to the consumer of the diff, which at this point has to scan into the rest of the data sequence (leading to quadratic complexity) |
||
|---|---|---|
| .. | ||
| diff-language.hpp | ||
| diff.cpp | ||
| list-diff-application.hpp | ||
| list-diff.hpp | ||
| tree-diff-application.hpp | ||
| tree-diff.hpp | ||