diff options
author | Jim Meyering <jim@meyering.net> | 2003-07-27 08:26:49 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-07-27 08:26:49 +0000 |
commit | 665f7a2d0f29b31eadcd026a884ed05c480c4d9d (patch) | |
tree | 88db5c79328c175778a4a471fde590d32d34e934 /src/install.c | |
parent | 9ee5095608ee400767ed256a23c4ff28fa4b321a (diff) | |
download | coreutils-665f7a2d0f29b31eadcd026a884ed05c480c4d9d.tar.xz |
This change was inspired by a similar proposal by Stepan Kasal.
(mergelines, sortlines_temp): New functions.
(sortlines): Use them, to reduce the number of times that
we need to copy 'struct line' values. This improved CPU
performance by about 30% on one 18 MB test.
(sort): Don't invoke sortlines unless we have 2 or more lines.
Diffstat (limited to 'src/install.c')
0 files changed, 0 insertions, 0 deletions