diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-04-09 21:50:08 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-04-09 21:50:08 +0000 |
commit | 31583f54660e373832d0fc36eaa2005e7e836229 (patch) | |
tree | 2072a99b38e5cf05716e1f1095798bb83e42d033 /man_hash.c | |
parent | b89bb1378a92c68b93b6d3450cbda691e289d6c6 (diff) | |
download | mandoc-31583f54660e373832d0fc36eaa2005e7e836229.tar.gz |
After careful gprof(1)ing of the new apropos(1), move the descriptions
back from the keys table to the mpages table: I found a good way
to still use them in searches, without complication of the code.
On my notebook, this reduces typical apropos(1) search times by about 40%,
it reduces /usr/share/man database size by 6% in makewhatis(8) -Q mode
and by 2% in standard mode (less overhead storing pointers to mpages),
and it doesn't measurably change database build times (may even be
going down by a percent or so because less data is being copied
around in ohashes).
Diffstat (limited to 'man_hash.c')
0 files changed, 0 insertions, 0 deletions