aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mansearch_const.c
Commit message (Collapse)AuthorAgeFilesLines
* After careful gprof(1)ing of the new apropos(1), move the descriptionsIngo Schwarze2014-04-091-7/+7
| | | | | | | | | | | | 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).
* Remember which names are in the NAME section.Ingo Schwarze2014-04-041-8/+9
| | | | | | | This helps to find missing MLINKS. Database build times do not change and database growth is minimal (1.2% with -Q, 0.7% without -Q in /usr/share/man), so making this optional would be pointless.
* Support a second -v on mandocdb(8) to show keys while they are being added;Ingo Schwarze2014-01-191-0/+31
i need that for debugging, in particular to be used with -t. To be able to do so, provide a global table of key names, for reuse.