Browse Source
In a corner case of large files whose lines do not match uniquely, the loop to eliminate a line that matches multiple locations adjacent to a run of lines that do not uniquely match wasted too much cycles. Fix this by giving up early after scanning 100 lines in both direction. Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
Davide Libenzi
16 years ago
committed by
Junio C Hamano
1 changed files with 13 additions and 2 deletions
Loading…
Reference in new issue