author | Junio C Hamano <junkio@cox.net> | |
Thu, 3 May 2007 20:05:48 +0000 (13:05 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 7 May 2007 22:54:32 +0000 (15:54 -0700) | ||
commit | fc3abdf5cb16914fb22747d7c3fb44258712a36d | |
tree | ae601e3fbee59e68acf307689fbfdf6af4ea0d19 | tree | snapshot |
parent | 3082acfa7c626a34aa419a163585051c2df2bf09 | commit | diff |
diff: release blobs after generating textual diff.
This reduces the memory pressure when dealing with many paths.
An unscientific test of running "diff-tree --stat --summary -M"
between v2.6.19 and v2.6.20-rc1 in the linux kernel repository
indicates that the number of minor faults are reduced by 2/3.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This reduces the memory pressure when dealing with many paths.
An unscientific test of running "diff-tree --stat --summary -M"
between v2.6.19 and v2.6.20-rc1 in the linux kernel repository
indicates that the number of minor faults are reduced by 2/3.
Signed-off-by: Junio C Hamano <junkio@cox.net>
diff.c | diff | blob | history |