=================================================================== RCS file: /cvs/mandoc/TODO,v retrieving revision 1.4 retrieving revision 1.9 diff -u -p -r1.4 -r1.9 --- mandoc/TODO 2010/05/15 15:54:39 1.4 +++ mandoc/TODO 2010/05/25 13:42:51 1.9 @@ -21,10 +21,6 @@ reminded by Ludo Smissaert Mon, 10 May 2010 12:15:11 +0200 also reported by jmc@ earlier -- FIXED man(7) .TH should recognize "3p" as a section number - found in usr.bin/pkg_add OpenBSD::Getopt - NEEDS MERGING TO openbsd.org - - implement \\ in plain text, identical to \e as a macro argument, identical to \ i.e. escaping the next character @@ -97,16 +93,20 @@ try e.g. .Bl -column It Ta Ta reported by millert Fri, 02 Apr 2010 16:13:46 -0400 +- nroff inserts a space before :, mandoc doesn't: + .Dl expr "/$a" Li : '.*/\e(.*\e)' ************************************************************************ * formatting issues: gratuitious differences ************************************************************************ -- lines containing blank characters, and nothing else, +- FIXED OpenBSD mdoc.c 1.52 schwarze 16.5.10 + lines containing blank characters, and nothing else, in literal context (.Bd -literal): groff outputs just blank lines "\n" mandoc outputs blanks to the left margin, then the number of balnks minus one + NEEDS MERGING TO bsd.lv ************************************************************************ @@ -115,3 +115,19 @@ - OpenBSD::PackageName(3p) has "if (block) 90:1" in the parse tree +************************************************************************ +* performance issues +************************************************************************ + +Several areas can be cleaned up to make mandoc even faster. These are + +- cache `Bd' display types as `Bl' types are cached (this primarily + improves code-size by removing the a2disp type functions) + +- improve caching mechanism to handle other per-element arguments so + that they need not be recalculated between front- and back-ends (also + reduces code size and complexity) + +- improve hashing mechanism for macros (quite important: performance) + +- improve hashing mechanism for characters (not as important)