memoize template_file

This avoids a lot of unncessary stats, and trims about 1 second
off a docwiki rebuild here.
master
Joey Hess 2009-09-08 17:20:04 -04:00
parent c2ae7966ca
commit 93ab004cc2
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ use Memoize;
memoize("abs2rel");
memoize("pagespec_translate");
memoize("file_pruned");
memoize("template_file");
sub getsetup () {
wikiname => {