summaryrefslogtreecommitdiffstats
path: root/manpath.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-01-06 23:46:07 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-01-06 23:46:07 +0000
commit99897a99a694bfd305103c4a86567186e8baa884 (patch)
tree13f32f1064f9b6afc009ebf89e0686a52f03a9a9 /manpath.c
parent4f5108d3edb20e0466c0447dcc9a5b4a49267ba6 (diff)
downloadmandoc-99897a99a694bfd305103c4a86567186e8baa884.tar.gz
Gprof(1) is fun. You should use it more often.
Another 10% speedup for mandocdb(8) -Q, and even 3% without -Q. With -Q, we are now at 41% of the time required by makewhatis(8). Do not copy predefined strings into the dynamic string table, just leave them in their own static table and use that one as a fallback at lookup time. This saves us copying and deleting them for each manual. No functional change.
Diffstat (limited to 'manpath.c')
0 files changed, 0 insertions, 0 deletions