diff options
author | 2014-01-07 09:10:45 +0000 | |
---|---|---|
committer | 2014-01-07 09:10:45 +0000 | |
commit | 24be495ffd76faafaa19ccd15b55af3702c9fe7a (patch) | |
tree | 4f6aedc284240c6898af66001b1c720baa21284c /term.c | |
parent | eeacd253013c5c40ef7d34b2763ffccdbe0ea8b3 (diff) | |
download | mandoc-24be495ffd76faafaa19ccd15b55af3702c9fe7a.tar.gz mandoc-24be495ffd76faafaa19ccd15b55af3702c9fe7a.tar.zst mandoc-24be495ffd76faafaa19ccd15b55af3702c9fe7a.zip |
Cache the result of uname(3) such that we don't need to call it
over and over again for each manual; found with gprof(1).
Speeds up mandocdb(8) -Q by 3%, now at 39.5% of makewhatis(8).
Diffstat (limited to 'term.c')
0 files changed, 0 insertions, 0 deletions