Menu

#232 xxdiff very inefficient on large files

Compilation Issues
open
nobody
None
5
2018-08-19
2018-08-19
Jim
No

I really like using xxdiff, but every now and then by "accident" I call it on a pair of "large" files, and it takes a long time to display the diffs. For example, I just called it on two files, where the first file has 143708 lines and 8971993 chars. The second file is the same as the first with a few more lines appended.

On a machine with an i7-4980HQ CPU @ 2.80GHz and 16GB of RAM, xxdiff used 4:18 (258 sec) of CPU
time to bring up the window. gdiff needed only 0:03 seconds. I know minimal amounts about both theses toolkits, but if one can do it in 3 seconds, does this suggest that there is a more efficient way to do it Qt?

This is arguably not a bug, but it is also arguably not a feature request. So I submitted this here.

Thanks.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.