summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-10-25 21:57:56 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2016-10-25 21:58:31 -0700
commit68b82f6f8419a815cfcf962b3061352d414dc606 (patch)
tree2b40c7be3eecaeed747b5247965b76b4eac11151 /NEWS
parent571f01c069dfc7f860e5500a5d08ebfdaf9c3068 (diff)
downloaddiffutils-68b82f6f8419a815cfcf962b3061352d414dc606.tar.gz
diff: fix big performance degradation in 3.4
* NEWS, doc/diffutils.texi (Overview): Document this. * src/analyze.c (diff_2_files): Restore too_expensive heuristic, but this time with a floor that is 16 times the old floor. This should fix Bug#16848, by generating good-quality output for its test case, while not introducing Bug#24715, by running nearly as fast as diff-3.3 for that test case.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 473332e..88f5d2b 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,11 @@ GNU diffutils NEWS -*- outline -*-
diff no longer mishandles line numbers exceeding 2**31 on Mingw-w64.
+** Performance changes
+
+ diff's default algorithm has been tweaked to deal better with larger
+ files, reversing some of the changes made in diffutils-3.4.
+
* Noteworthy changes in release 3.5 (2016-08-20) [stable]