Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still scans folder contents if folder does not exist in the other pane's structure. #2219

Open
FaceCrap opened this issue Feb 17, 2024 · 1 comment

Comments

@FaceCrap
Copy link

FaceCrap commented Feb 17, 2024

When you compare two folders with each other and have Include subfolders checked, Winmerge is wasting CPU time by still traversing the one side existing folder and scanning/comparing the content to 'nothing'.

Winmerge should not even start to traverse a subfolder if there's no matching subfolder in the right pane structure.
Same way if it detects a subfolder existing in the right pane structure which does not exist in the left pane, Winmerge should just stop traversing right there and skip any children of that folder.
Winmerge would only need to enumerate and list files in those one-sided folders when actually opening them.

It would speed up the comparison of folder structures tremendously.

@sdottaka
Copy link
Member

If you uncheck the Include unique subfolder contents checkbox in the Folder category of the Options window as shown below, folders that do not exist in one will not be scanned.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants