I have two folders and compare only files with same name (in that case name&ext).
The original version takes much longer as it puts all files in the queue and compares names in the next step.
Here, name comparison is done in the script with array and manual name comparison. Only pairs are added to the queue.
@Admin: maybe it is worth to open a new forum group to share sample scripts...