projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2ae796
)
memoize template_file
author
Joey Hess
<joey@gnu.kitenet.net>
Tue, 8 Sep 2009 21:20:04 +0000
(17:20 -0400)
committer
Joey Hess
<joey@gnu.kitenet.net>
Tue, 8 Sep 2009 21:20:04 +0000
(17:20 -0400)
This avoids a lot of unncessary stats, and trims about 1 second
off a docwiki rebuild here.
IkiWiki.pm
patch
|
blob
|
history
diff --git
a/IkiWiki.pm
b/IkiWiki.pm
index b8e89b73fb00db7df6d019d07895376b0932cd8f..01898936f36a1702ebb8a0e3775e7bf735b67931 100644
(file)
--- a/
IkiWiki.pm
+++ b/
IkiWiki.pm
@@
-33,6
+33,7
@@
use Memoize;
memoize("abs2rel");
memoize("pagespec_translate");
memoize("file_pruned");
+memoize("template_file");
sub getsetup () {
wikiname => {