From 7f2fc48bcc66c32b8872bbf5def95f24bafcf2ff Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 25 May 2010 13:42:51 +0000 Subject: Noted areas where performance can be increased. --- TODO | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/TODO b/TODO index 70a6e01a..63ffd3dc 100644 --- a/TODO +++ b/TODO @@ -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) -- cgit v1.2.3