summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-23 07:42:24 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-23 07:42:24 +0000
commitbb0193aff3e044e93006ee7ad0aaef1a82adaeee (patch)
treee6a208eb84812da9929eb48aa1eb584d0360a619
parentb645dc5a4118feabd37d95fabbc6aaa803e3c45f (diff)
benchmarking suggests that meoization doesn't help even when doing a
--rebuild, so remove it
-rw-r--r--IkiWiki/Wrapper.pm2
-rwxr-xr-xikiwiki3
2 files changed, 1 insertions, 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();