What is the fastest hash algorithm to check if two files are equal?
Unless you’re using a really complicated and/or slow hash, loading the data from the disk is going to take much longer than computing the hash (unless you use RAM disks or top-end SSDs). So to compare two files, use this algorithm: Compare sizes Compare dates (be careful here: this can give you the wrong answer; … Read more