diff options
author | Chen Guo <chenguo4@yahoo.com> | 2010-07-14 07:41:05 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2010-07-15 01:10:12 +0100 |
commit | b084d6bcb51ddb19c6febe3c3ab343b89efdd2f2 (patch) | |
tree | d2439ab98e731a041ec3c0d32029ebf5aa9ddd0d /src/expr.c | |
parent | c5e350ec5625d7346c2a088fe478060358200c14 (diff) | |
download | coreutils-b084d6bcb51ddb19c6febe3c3ab343b89efdd2f2.tar.xz |
sort: speed up default full line sorting
Don't write NUL after the comparison buffers on each compare,
which increases performance by about 3% for short lines
on a pentium-m with gcc-4.4.1
* src/sort.c: (fillbuf): Delimit input items with NUL.
(write_bytes): Restore the item delimiter char which was
replaced with NUL in fillbuf().
Diffstat (limited to 'src/expr.c')
0 files changed, 0 insertions, 0 deletions