summaryrefslogtreecommitdiff
path: root/lib/exclude.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-03-03 18:23:29 +0000
committerJim Meyering <jim@meyering.net>2001-03-03 18:23:29 +0000
commit25f95ca91e54d573732cd22ecedc35e97ee81248 (patch)
tree82551ff4d6cced26e0c2a9f905fb673dc4c191cf /lib/exclude.c
parentcfd53be2c8e7b0ef5961d1a10c400054f43a2b07 (diff)
downloadcoreutils-25f95ca91e54d573732cd22ecedc35e97ee81248.tar.xz
Tune allocation and comparison of nodes
representing temp files. This improved CPU performance of 'sort -S 1 *.[ch]' by 17% on my host. (struct tempnode): name member now uses struct hack. (temphead): Now a pointer, not a structure. All uses changed. (create_temp_file): Allocate node using struct hack. (zaptemp): Free node using struct hack. Use pointer comparison, not string comparison.
Diffstat (limited to 'lib/exclude.c')
0 files changed, 0 insertions, 0 deletions