From: Joey Hess Date: Tue, 8 Sep 2009 21:20:04 +0000 (-0400) Subject: memoize template_file X-Git-Tag: 3.14159265~75^2~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=93ab004cc23e183199d760f9ecd5afee260c47e9;p=ikiwiki.git memoize template_file This avoids a lot of unncessary stats, and trims about 1 second off a docwiki rebuild here. --- 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 => {