CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2014/04/09 15:49:31
Modified files:
usr.bin/mandoc : mandocdb.c mansearch.c mansearch.h
mansearch_const.c
Log message:
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).