summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_--dirstat-by-file_initial_rearrange
diff options
context:
space:
mode:
authorLibravatar Tay Ray Chuan <rctay89@gmail.com>2011-07-12 14:10:27 +0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-07-12 09:30:00 -0700
commit86abba801575892a8a2b161aa29518c1ed05e1f1 (patch)
treee2a5a2264646e2bbde43dfd8bff10369daec7c5b /t/t4013/diff.diff_--dirstat-by-file_initial_rearrange
parentxdiff/xprepare: skip classification (diff)
downloadtgif-86abba801575892a8a2b161aa29518c1ed05e1f1.tar.xz
xdiff/xprepare: use a smaller sample size for histogram diff
For histogram diff, we can afford a smaller sample size and thus a poorer estimate of the number of lines, as the hash table (rhash) won't be filled up/grown. This is safe as the final count of lines (xdf.nrecs) will be updated correctly anyway by xdl_prepare_ctx(). This gives us a small boost in performance. Signed-off-by: Tay Ray Chuan <rctay89@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_--dirstat-by-file_initial_rearrange')
0 files changed, 0 insertions, 0 deletions