diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-25 13:42:51 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-25 13:42:51 +0000 |
commit | 7f2fc48bcc66c32b8872bbf5def95f24bafcf2ff (patch) | |
tree | bcc32d5d6a7bab42ad65e0f51962a2a617ac064c | |
parent | 71cd7398da2aa89d10c8268134292464d0dd22d2 (diff) | |
download | mandoc-7f2fc48bcc66c32b8872bbf5def95f24bafcf2ff.tar.gz mandoc-7f2fc48bcc66c32b8872bbf5def95f24bafcf2ff.tar.zst mandoc-7f2fc48bcc66c32b8872bbf5def95f24bafcf2ff.zip |
Noted areas where performance can be increased.
-rw-r--r-- | TODO | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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) |