aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_validate.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
commiteeacd253013c5c40ef7d34b2763ffccdbe0ea8b3 (patch)
tree84b2f6e12444365ebc8050503f85298fd5d70188 /mdoc_validate.c
parentaa902148c80402b742b1e9a00236c3094b044a2b (diff)
downloadmandoc-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 'mdoc_validate.c')
0 files changed, 0 insertions, 0 deletions