summaryrefslogtreecommitdiff
path: root/src/ptx.c
diff options
context:
space:
mode:
authorChen Guo <chenguo4@yahoo.com>2010-07-14 07:41:05 +0100
committerPádraig Brady <P@draigBrady.com>2010-07-15 01:10:12 +0100
commitb084d6bcb51ddb19c6febe3c3ab343b89efdd2f2 (patch)
treed2439ab98e731a041ec3c0d32029ebf5aa9ddd0d /src/ptx.c
parentc5e350ec5625d7346c2a088fe478060358200c14 (diff)
downloadcoreutils-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/ptx.c')
0 files changed, 0 insertions, 0 deletions