Community
Participate
Working Groups
1. Commit a file of >50k lines. 2. Compare it against a similar local file. Result: - a progress requester comes up, as expected. - the machine is churning. - After a while I give up and press Cancel. - Eclipse and all other applications are unresponsive - after a long time(somewhere between 2-20 minutes, I didn't check) the requester goes away and Eclipse puts up an error dialog that it was unable to compare the files. Comparing two files which have on the order of 40-50k lines can be quite useful. I would like to use it to compare execution traces of complicated programs as one of the regression testing schemes.
When comparing the same files with WinMerge, it takes <1 second before the visual diff is displayed, so obviously this is an algorithmic problem and not a performance limitation of Java. http://winmerge.sourceforge.net/
Created attachment 54664 [details] O(N+M) space LCS implementation Needs a bit of work to make it use IRangeComparator
Thanks for the patch. I'll have a look at it soon (hopefully tomorrow).
Fix released to HEAD. Thanks again for the contribution.
*** Bug 61879 has been marked as a duplicate of this bug. ***
verified