From 93ab004cc23e183199d760f9ecd5afee260c47e9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 8 Sep 2009 17:20:04 -0400 Subject: [PATCH] memoize template_file This avoids a lot of unncessary stats, and trims about 1 second off a docwiki rebuild here. --- IkiWiki.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/IkiWiki.pm b/IkiWiki.pm index b8e89b73f..01898936f 100644 --- 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 => { -- 2.26.2