You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Markus Bergholz 6411ed7e50 add binary_search function 5 years ago
LICENSE Initial commit 5 years ago
Makefile change compile options 5 years ago
README.md readme update 5 years ago
fastcompare.c add binary_search function 5 years ago

README.md

fastcompare

use make build to compile

examples

$ ./fastcompare small big 
start generating 3 hashes for file small
start comparing hashes with file big
summary:
 File small: 3 lines
 File big: 5 lines
 File small has 1 lines which are not in file big


$ ./fastcompare big small verbose
start generating 5 hashes for file big
start comparing hashes with file small
summary:
 File big: 5 lines
 File small: 3 lines
 File big has 3 lines which are not in file small
 Following lines of big are not included in small: 

1
5
3