]> git.cameronkatri.com Git - mandoc.git/commit
Another 18% speedup for mandocdb(8) -Q, found by gprof(1).
authorIngo Schwarze <schwarze@openbsd.org>
Mon, 6 Jan 2014 22:39:25 +0000 (22:39 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Mon, 6 Jan 2014 22:39:25 +0000 (22:39 +0000)
commitaa902148c80402b742b1e9a00236c3094b044a2b
tree903f52a5aa3078c4aca3de49974dc9a29c807b78
parent5856944693ea231656e42d7ac30d26149f53a66a
Another 18% speedup for mandocdb(8) -Q, found by gprof(1).
In -Q mode, refrain form validating and normalizing the format
of the date given in .Dd or .TH, as it won't be used anyway.

For /usr/share/man, mandocdb -Q now takes 45% of the time of makewhatis(8).
man_validate.c
mdoc_validate.c