Dupe-Clear icon indicating copy to clipboard operation
Dupe-Clear copied to clipboard

Optimizations

Open sgmoore opened this issue 3 years ago • 0 comments

Not sure if you accept pull requests, but I have made a few optimizations.

  1. Re-Ordered some lines so that the fast comparisons (e.g. checking dates, file type or folder names) are performed before computing the hashes (which is time-consuming, especially on large files).

  2. If we are not comparing file contents, there is no need to compute the hash on files.

  3. Only update the progress bar if the percentage has changed.

These changes will probably not make much difference if you are using the default search options, but one of my searches went from approximately 45 minutes to approximately 30 minutes.

sgmoore avatar Sep 24 '22 11:09 sgmoore