summaryrefslogtreecommitdiffstatshomepage
path: root/TODO
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
commit7f2fc48bcc66c32b8872bbf5def95f24bafcf2ff (patch)
treebcc32d5d6a7bab42ad65e0f51962a2a617ac064c /TODO
parent71cd7398da2aa89d10c8268134292464d0dd22d2 (diff)
downloadmandoc-7f2fc48bcc66c32b8872bbf5def95f24bafcf2ff.tar.gz
mandoc-7f2fc48bcc66c32b8872bbf5def95f24bafcf2ff.tar.zst
mandoc-7f2fc48bcc66c32b8872bbf5def95f24bafcf2ff.zip
Noted areas where performance can be increased.
Diffstat (limited to 'TODO')
-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)