MediaWiki file: WikiDiff3.php
Location: includes/diff/
Source code: master 1.40.0 1.39.4 1.35.11
Classes: WikiDiff3  RangeDifference

Details

New version of the difference engine. This diff implementation is mainly lifted from the LCS algorithm of the Eclipse project which in turn is based on Myers' "An O(ND) difference algorithm and its variations" citeseer.ist.psu.edu with range compression (see Wu et al.'s "An O(NP) Sequence Comparison Algorithm".

This implementation supports an upper bound on the execution time. Complexity: worst case time, expected time, space.

See also

  • $wgExternalDiffEngine
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.