aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-04 16:34:27 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-07-04 16:34:27 +0000
commit014a387996390c6ae3ecdc53e8c53c0fad67cc33 (patch)
tree846666549a6aebb371409e8570a47752eca90708
parent4aa5d301ae5ede5fae7ecef18cdf8645c752cce7 (diff)
downloadikiwiki-014a387996390c6ae3ecdc53e8c53c0fad67cc33.tar
ikiwiki-014a387996390c6ae3ecdc53e8c53c0fad67cc33.tar.gz
* Memoize abs2rel, which is still kinda slow, for another 30% speedup
in time to build the doc wiki.
-rw-r--r--IkiWiki.pm4
-rw-r--r--debian/changelog4
-rw-r--r--doc/roadmap.mdwn2
3 files changed, 8 insertions, 2 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 56a27b3b0..d8b272125 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -6,6 +6,10 @@ use strict;
use Encode;
use open qw{:utf8 :std};
+# Optimisation.
+use Memoize;
+memoize("abs2rel");
+
use vars qw{%config %links %oldlinks %oldpagemtime %pagectime
%renderedfiles %pagesources %depends %hooks};
diff --git a/debian/changelog b/debian/changelog
index d248d2689..63a345b9e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -46,8 +46,10 @@ ikiwiki (1.8) UNRELEASED; urgency=low
No code changes involved.
* Encode & in diffurl in examples, to conform to pedantic rules.
* Speed up RecentChanges by another 40% or so with some memoization.
+ * Memoize abs2rel, which is still kinda slow, for another 30% speedup
+ in time to build the doc wiki.
- -- Joey Hess <joeyh@debian.org> Tue, 4 Jul 2006 12:16:39 -0400
+ -- Joey Hess <joeyh@debian.org> Tue, 4 Jul 2006 12:22:57 -0400
ikiwiki (1.7) unstable; urgency=low
diff --git a/doc/roadmap.mdwn b/doc/roadmap.mdwn
index e3f42dbe7..bbdfd9ede 100644
--- a/doc/roadmap.mdwn
+++ b/doc/roadmap.mdwn
@@ -18,7 +18,7 @@ Released 29 April 2006.
* [[Tags]] _(status: partial)_
* Should have fully working [[todo/utf8]] support. _(status: fair)_
* [[Optimised_rendering|todo/optimisations]] if possible. Deal with other
- scalability issues. _(status: 25%-35% speedup since 1.0)_
+ scalability issues. _(status: 45%-60% speedup since 1.0)_
* Improved [[todo/html]] stylesheets and templates.
* Improved scalable [[logo]]. _(status: done)_
* Support for at least one RCS aside from svn. Once it supports two, it should