diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-01-06 23:46:07 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-01-06 23:46:07 +0000 |
commit | eeacd253013c5c40ef7d34b2763ffccdbe0ea8b3 (patch) | |
tree | 84b2f6e12444365ebc8050503f85298fd5d70188 /out.c | |
parent | aa902148c80402b742b1e9a00236c3094b044a2b (diff) | |
download | mandoc-eeacd253013c5c40ef7d34b2763ffccdbe0ea8b3.tar.gz mandoc-eeacd253013c5c40ef7d34b2763ffccdbe0ea8b3.tar.zst mandoc-eeacd253013c5c40ef7d34b2763ffccdbe0ea8b3.zip |
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 'out.c')
0 files changed, 0 insertions, 0 deletions