Only add potential hardlinks to a set/dict, instead of each file. This should be much cheaper, since hardlinks are very rare.
Only add potential hardlinks to a set/dict, instead of each file. This should be much cheaper, since hardlinks are very rare.