summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-02-10 08:48:27 +0100
committerJim Meyering <meyering@redhat.com>2011-03-13 18:13:17 +0100
commite0245ae0aed72338d5dcb5b71f7a963859a93317 (patch)
tree655a0448bd8f74c6f55c77a141a1990ae4275c1a /bootstrap
parent3ed0384c4171def286f5a9fbad4d89da7b0775aa (diff)
downloadcoreutils-e0245ae0aed72338d5dcb5b71f7a963859a93317.tar.xz
sort: spawn fewer threads for small inputs
* src/sort.c (SUBTHREAD_LINES_HEURISTIC): Do not spawn a new thread for every 4 lines. Increase this from 4 to 128K. 128K lines seems appropriate for a 5-year-old dual-core laptop, but it is too low for some common combinations of short lines and/or newer systems. * NEWS (Bug fixes): Mention it.
Diffstat (limited to 'bootstrap')
0 files changed, 0 insertions, 0 deletions