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

Perform binary comparison, then detailed comparison only if different #1407

Open
Gitoffthelawn opened this issue Jul 18, 2022 · 4 comments
Open

Comments

@Gitoffthelawn
Copy link
Contributor

I've been using WinMerge to compare quite a few 20-80MB PDF files recently. I've noticed it's fairly slow at this task, even if the files are identical. Note that I don't want to just compare these files as binary.

What if, for files that can fit within RAM, WinMerge always performed a binary comparison, and then only performed a more detailed comparison if the files are different?

@sdottaka
Copy link
Member

I am a little confused.
Are you talking about file comparisons? Or are you talking about folder comparisons?
By "binary comparison" are you talking about the binary contents compare method? Or are you talking about a file comparison window that displays in hexadecimal?
What kind of comparison is "a more detailed comparison"?

@Gitoffthelawn
Copy link
Contributor Author

Gitoffthelawn commented Jul 22, 2022

I am a little confused.

Sorry for the confusion. My fault. I'll provide answers to your questions and further details below.

Are you talking about file comparisons?

Yes.

Or are you talking about folder comparisons?

No.

By "binary comparison" are you talking about the binary contents compare method?

Yes.

Or are you talking about a file comparison window that displays in hexadecimal?

No.

What kind of comparison is "a more detailed comparison"?

By "more detailed comparison", I'm talking about showing the exact differences between the files being compared.

Feel free to ask more questions, if needed. I don't get annoyed at all by questions (and ask many myself), so please don't worry in any way.

@sdottaka
Copy link
Member

When comparing different large files, the following message box appears. What you want is a button in this message box to display the contents of the files in a file comparison window?

image

@Werve
Copy link

Werve commented Oct 3, 2022

I think he refer to what I also mentioned #1391 (comment)
For each file use the faster binary comparison algo already avaiable and if the result means different content then perform a different comparison as user setted (like compare as image, plugins ecc)

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

No branches or pull requests

3 participants