]> sipb.mit.edu Git - ikiwiki.git/commitdiff
memoize template_file
authorJoey Hess <joey@gnu.kitenet.net>
Tue, 8 Sep 2009 21:20:04 +0000 (17:20 -0400)
committerJoey 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

index b8e89b73fb00db7df6d019d07895376b0932cd8f..01898936f36a1702ebb8a0e3775e7bf735b67931 100644 (file)
@@ -33,6 +33,7 @@ use Memoize;
 memoize("abs2rel");
 memoize("pagespec_translate");
 memoize("file_pruned");
+memoize("template_file");
 
 sub getsetup () {
        wikiname => {