aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandocdb.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-01-07 09:10:45 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-01-07 09:10:45 +0000
commit24be495ffd76faafaa19ccd15b55af3702c9fe7a (patch)
tree4f6aedc284240c6898af66001b1c720baa21284c /mandocdb.c
parenteeacd253013c5c40ef7d34b2763ffccdbe0ea8b3 (diff)
downloadmandoc-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 'mandocdb.c')
0 files changed, 0 insertions, 0 deletions