summaryrefslogtreecommitdiff
path: root/tests/ln
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2010-08-08 23:14:38 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2010-08-08 23:15:09 -0700
commitad31a59a370e29f38864a747045da10c82d6c912 (patch)
tree033f522838276d0a62da69784109f8fcbde7e1c3 /tests/ln
parentb877ea4b3ee4c62ab75caedbfdcca4877961aedf (diff)
downloadcoreutils-ad31a59a370e29f38864a747045da10c82d6c912.tar.xz
sort: speed up -R with long lines in hard locales
* src/sort.c (compare_random): Guess that the output will be 3X the input. This avoids the overhead of calling strxfrm twice on typical implementations. Suggested by Bruno Haible.
Diffstat (limited to 'tests/ln')
0 files changed, 0 insertions, 0 deletions