summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-25 13:42:51 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-25 13:42:51 +0000
commit045f58194bb790de54c5d9e6d7c46a6337efd291 (patch)
treea7172735931cc5ecafa7172cb74cdd82e8602a33
parent2b24cf82e4bfafe4a1ed27ccc831c8f46f317fe1 (diff)
downloadmandoc-045f58194bb790de54c5d9e6d7c46a6337efd291.tar.gz
Noted areas where performance can be increased.
-rw-r--r--TODO16
1 files changed, 16 insertions, 0 deletions
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)