|
5 years ago | |
---|---|---|
LICENSE | 5 years ago | |
Makefile | 5 years ago | |
README.md | 5 years ago | |
fastcompare.c | 5 years ago |
use make build
to compile
fastcompare file1 file2
fastcompare
is designed to compare line-based content (order doesn't matter) of very large ASCII files.
For the 1st file, it will generate crc32
hashes for each line (so it is more memory efficient when you take the smaller file as the 1st file. But this has no affect on the speed).
Now it will iterate over the 2nd file, build a temporary crc32
hash and do a binary search in the hash array.
still under construction
todo: