diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-09-08 17:20:04 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-09-08 17:20:04 -0400 |
commit | 93ab004cc23e183199d760f9ecd5afee260c47e9 (patch) | |
tree | 63d79896556d7c360134fdabcc068a92b06aa1da | |
parent | c2ae7966cac1bf691fcf76afafdee4a03239a231 (diff) |
memoize template_file
This avoids a lot of unncessary stats, and trims about 1 second
off a docwiki rebuild here.
-rw-r--r-- | IkiWiki.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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 => { |