summaryrefslogtreecommitdiff
path: root/src/pwd.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-07-27 08:26:49 +0000
committerJim Meyering <jim@meyering.net>2003-07-27 08:26:49 +0000
commit665f7a2d0f29b31eadcd026a884ed05c480c4d9d (patch)
tree88db5c79328c175778a4a471fde590d32d34e934 /src/pwd.c
parent9ee5095608ee400767ed256a23c4ff28fa4b321a (diff)
downloadcoreutils-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/pwd.c')
0 files changed, 0 insertions, 0 deletions