Hacker News new | ask | show | jobs
by magicalhippo 902 days ago
When making a dupe detector some decades ago, I kept the filesize outside of the hash.

No need to compute the hash until there's at least two files with the same size.