diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2010-08-08 23:14:38 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2010-08-08 23:15:09 -0700 |
commit | ad31a59a370e29f38864a747045da10c82d6c912 (patch) | |
tree | 033f522838276d0a62da69784109f8fcbde7e1c3 /tests/ln | |
parent | b877ea4b3ee4c62ab75caedbfdcca4877961aedf (diff) | |
download | coreutils-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