|
ABSTRACT
A simple algorithm is described for isolating the differences between two files. One application is the comparing of two versions of a source program or other file in order to display all differences. The algorithm isolates differences in a way that corresponds closely to our intuitive notion of difference, is easy to implement, and is computationally efficient, with time linear in the file length. For most applications the algorithm isolates differences similar to those isolated by the longest common subsequence. Another application of this algorithm merges files containing independently generated changes into a single file. The algorithm can also be used to generate efficient encodings of a file in the form of the differences between itself and a given “datum” file, permitting reconstruction of the original file from the diference and datum files.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
1
|
|
 |
2
|
|
| |
3
|
Digital Equipment Corp. DEC System 10 Assembly Language Handbook, 3d ed., 1972, pp. 931-942.
|
 |
4
|
|
| |
5
|
Heckel, P. A technique for isolating differences between files. Tech. Pub. 73, Interactive Systems Consultants, Palo Alto, Calif.
|
 |
6
|
|
| |
7
|
Hunt, J., and McIlroy, M. An algorithm for differential file comparison. Compt. Sci. Techn. Rep. 41, Bell Telephone Labs, Murray Hill, N.J., Aug. 1976.
|
| |
8
|
IBM Corp. IBM Virtual Machine Facility/370 Command Language Guide for General Users, Release 2,225-226.1 (UPDATE).
|
| |
9
|
|
 |
10
|
|
CITED BY 22
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Jacky Chan , Alan Chu , Elisa Baniassad, Supporting empirical studies by non-intrusive collection and visualization of fine-grained revision history, Proceedings of the 2007 OOPSLA workshop on eclipse technology eXchange, p.60-64, October 21-21, 2007, Montreal, Quebec, Canada
|
|
|
|
|
|
|
|
|
|
INDEX TERMS
Primary Classification:
H.
Information Systems
H.4
INFORMATION SYSTEMS APPLICATIONS
H.4.1
Office Automation
Subjects:
Word processing
Additional Classification:
I.
Computing Methodologies
I.7
DOCUMENT AND TEXT PROCESSING
General Terms:
Algorithms,
Design,
Documentation,
Management,
Performance
Keywords:
bandwidth compression,
difference isolation,
file comparison,
file compression,
hashcoding,
longest common subsequence,
molecular evolution,
program maintenance,
text editing,
word processing
|