From c06c79667c9514aed00d29bcd80bd0cee7cc5a25 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sun, 12 Mar 2006 03:22:10 -0800 Subject: diffcore-rename: somewhat optimized. This changes diffcore-rename to reuse statistics information gathered during similarity estimation, and updates the hashtable implementation used to keep track of the statistics to be denser. This seems to give better performance. Signed-off-by: Junio C Hamano --- diffcore-break.c | 1 + 1 file changed, 1 insertion(+) (limited to 'diffcore-break.c') diff --git a/diffcore-break.c b/diffcore-break.c index 71ad58a25a..ed0e14c6d8 100644 --- a/diffcore-break.c +++ b/diffcore-break.c @@ -68,6 +68,7 @@ static int should_break(struct diff_filespec *src, if (diffcore_count_changes(src->data, src->size, dst->data, dst->size, + NULL, NULL, 0, &src_copied, &literal_added)) return 0; -- cgit v1.2.3