]> sipb.mit.edu Git - ikiwiki.git/commitdiff
* Memoize abs2rel, which is still kinda slow, for another 30% speedup
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Tue, 4 Jul 2006 16:34:27 +0000 (16:34 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Tue, 4 Jul 2006 16:34:27 +0000 (16:34 +0000)
  in time to build the doc wiki.

IkiWiki.pm
debian/changelog
doc/roadmap.mdwn

index 56a27b3b02a4f32db7d678c0edec07d9df9ab242..d8b2721250e924472d94d72dcc0c88e10dedbbbc 100644 (file)
@@ -6,6 +6,10 @@ use strict;
 use Encode;
 use open qw{:utf8 :std};
 
 use Encode;
 use open qw{:utf8 :std};
 
+# Optimisation.
+use Memoize;
+memoize("abs2rel");
+
 use vars qw{%config %links %oldlinks %oldpagemtime %pagectime
             %renderedfiles %pagesources %depends %hooks};
 
 use vars qw{%config %links %oldlinks %oldpagemtime %pagectime
             %renderedfiles %pagesources %depends %hooks};
 
index d248d2689c6158eb0579e679d55843f9a354e7a6..63a345b9edbc418bb95cd3023aeedf5608b522f9 100644 (file)
@@ -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.
     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
 
 
 ikiwiki (1.7) unstable; urgency=low
 
index e3f42dbe77637e736a062cc379568d60aec21b05..bbdfd9edefec085ead9da7bc72b12a7a9206a2ef 100644 (file)
@@ -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
 * [[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
 * 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