in reply to MD5 Hash
Presumably you're already using Digest, since this is apparently a followup to the thread file comparison using file open in binary mode.. In the Digest documentation there is a comparison of various digest speeds, with MD4 being the fastest.
If speed is really a huge deal, you could add an additional comparison stage, like perhaps an MD5 over only the first 64K of each file. Then if those match, do an MD5 over the whole file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: MD5 Hash
by Karger78 (Beadle) on Dec 01, 2009 at 20:36 UTC | |
by GrandFather (Saint) on Dec 01, 2009 at 22:20 UTC | |
by Karger78 (Beadle) on Dec 02, 2009 at 14:44 UTC | |
|
Re^2: MD5 Hash
by Karger78 (Beadle) on Dec 01, 2009 at 21:12 UTC |