summaryrefslogtreecommitdiff
path: root/test-string-list.c
diff options
context:
space:
mode:
authorLibravatar Victor Leschuk <vleschuk@gmail.com>2015-12-15 18:31:39 +0300
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-12-15 10:43:30 -0800
commitb6b468b2bfaa8015568efad8e0a78b342e1ac640 (patch)
tree408970296d6d6a0c763d21c73331bf7b9957d6d8 /test-string-list.c
parentSeventh batch for 2.7 (diff)
downloadtgif-b6b468b2bfaa8015568efad8e0a78b342e1ac640.tar.xz
grep: allow threading even on a single-core machine
Earlier we disabled threading when online_cpus() said "1", but on a filesystem with long latency (or in a cold cache situation), using multiple threads to drive I/O in parallel would improve performance even on a single-core machines. Signed-off-by: Victor Leschuk <vleschuk@accesssoftek.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-string-list.c')
0 files changed, 0 insertions, 0 deletions