Performance question: compare by file name and file content
Posted: 27 Apr 2019, 14:16
Compare method: compare only files between different source folders
Comparison criteria: file name and file content
File content: ignore exif metadata of jpeg files.
file name: compare all characters of a file name
The first source folder has only one file.
The second source folder has +50.000 jpeg files but only one file has the same file name as the file in the first source folder.
I expected that this comparison would be very fast even though I checked "ignore exif metadata of jpeg files" because, after counting all the files, it can filter out all the files from the second source folder except the one with the same file name but it took actually quiet long.
Could it be that the program isn't first checking whether the filename is the same ?
Comparison criteria: file name and file content
File content: ignore exif metadata of jpeg files.
file name: compare all characters of a file name
The first source folder has only one file.
The second source folder has +50.000 jpeg files but only one file has the same file name as the file in the first source folder.
I expected that this comparison would be very fast even though I checked "ignore exif metadata of jpeg files" because, after counting all the files, it can filter out all the files from the second source folder except the one with the same file name but it took actually quiet long.
Could it be that the program isn't first checking whether the filename is the same ?