Method and system for efficiently identifying differences between large files
Abstract
Methods and data structures are disclosed for carrying out identifying differences between large files comprising many lines (or other units of comparison such as rows, words, paragraphs, sentences, etc.). The disclosed methods and data structures facilitate and carry out a streamlined, yet thorough comparison of two files to identify differences between them. The streamlining is achieved by pre-processing the files prior to submitting them to any known longest common subsequence (LCS) search engine. The output of the LCS generator is post-processed to compensate for changes to the sequences introduced by the pre-processing stage.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for identifying differences between a first file and a second file comprising: pre-processing the first and second files to remove units of comparison, from the first and second files, that are only present in one of the first and second files, the pre-processing comprising: removing, from a sequence of comparison units for the first and second files, comparison units found within only one of the first and second files to render a translated first file and a translated second file, and registering changes to the first and second files, arising during the removing step, within correspo
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (5)
- Anderson, Thomas E. et al., "Serverless Network File Systems", 1995 ACM, pp. 109-126.
- Burns, R. et al., A Linear Time, Constant Space Differencing Algorithm, Department of Computer Science, University of California Santa Cruz, 8 pages.
- Heckel, Paul, "A technique for Isolating Differences Between Files", ACM Communication, #4, 1978, 21:264-268.
- Myers, Eugene W., "An O(ND) Difference Algorithm and Its Variations", Algorithmica #2, 1986, 1:251-266.
- Schmuck, Frank et al., "GPFS: A Shared-Disk File System for Large Computing Clusters", Proceedings of the Conference on File and Storage Technologies (FAST '02), Jan. 28-30, 2002, pp. 231-244.