The program diff reports differences between two files, … other. … Time and space usage are observed to vary … vary as the product of the file lengths … find the lines that do not change between … Various techniques of hashing, presorting into equivalence classes, … [p.5] As for practical time complexity, the central … almost half the run time is still absorbed … of characters in the two files.
Google-1
Google-2
Copyright clearance needed for quotation.