Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: Compare Binary Filesby ikegami (Patriarch) |
on Sep 07, 2011 at 23:12 UTC ( [id://924701]=note: print w/replies, xml ) | Need Help?? |
Why? It seems to me that reading entire file to calculate its hashes is a waste of time compared to just reading the entire file. Calculating hashes is useful in two circumstances: 1) When comparing one document to many (or many to many), 2) When a compact signature of the file is needed (for ease of communication or storage).
In Section
Seekers of Perl Wisdom
|
|