diff options
author | Jim Meyering <jim@meyering.net> | 2001-03-03 18:23:29 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-03-03 18:23:29 +0000 |
commit | 25f95ca91e54d573732cd22ecedc35e97ee81248 (patch) | |
tree | 82551ff4d6cced26e0c2a9f905fb673dc4c191cf /m4/gnu-source.m4 | |
parent | cfd53be2c8e7b0ef5961d1a10c400054f43a2b07 (diff) | |
download | coreutils-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 'm4/gnu-source.m4')
0 files changed, 0 insertions, 0 deletions