From bb0193aff3e044e93006ee7ad0aaef1a82adaeee Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 23 Mar 2006 07:42:24 +0000 Subject: benchmarking suggests that meoization doesn't help even when doing a --rebuild, so remove it --- IkiWiki/Wrapper.pm | 2 +- ikiwiki | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/IkiWiki/Wrapper.pm b/IkiWiki/Wrapper.pm index 62d284eb6..4966c453a 100644 --- a/IkiWiki/Wrapper.pm +++ b/IkiWiki/Wrapper.pm @@ -33,7 +33,7 @@ sub gen_wrapper () { #{{{ EOF } - $Data::Dumper::Indent=0; + $Data::Dumper::Indent=0; # no newlines my $configstring=Data::Dumper->Dump([\%config], ['*config']); $configstring=~s/\\/\\\\/g; $configstring=~s/"/\\"/g; diff --git a/ikiwiki b/ikiwiki index b59aa8c8f..7f6480e0c 100755 --- a/ikiwiki +++ b/ikiwiki @@ -7,7 +7,6 @@ use lib '.'; # For use without installation, removed by Makefile. package IkiWiki; use warnings; use strict; -use Memoize; use File::Spec; use HTML::Template; @@ -426,8 +425,6 @@ sub globlist_match ($$) { #{{{ } #}}} # main {{{ -memoize('pagename'); -memoize('bestlink'); if ($config{setup}) { require IkiWiki::Setup; setup(); -- cgit v1.2.3