]> sipb.mit.edu Git - ikiwiki.git/commitdiff
possible improvement
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>
Wed, 10 Nov 2010 13:26:16 +0000 (13:26 +0000)
committerJoey Hess <joey@kitenet.net>
Wed, 10 Nov 2010 13:26:16 +0000 (13:26 +0000)
doc/todo/Improving_the_efficiency_of_match__95__glob.mdwn

index 8f70f1dde4bbe7fd7b66807c36e6f4d7fd0b08b0..0a9d8c69c4c35a230f5080d1fd1f4cacb6b806ae 100644 (file)
@@ -2,6 +2,10 @@ I've been profiling my IkiWiki to try to improve speed (with many pages makes sp
 
 Here's my patch - please consider it! -- [[KathrynAndersen]]
 
+> It seems to me as though changing `glob2re` to return qr/$re/, and calling
+> `memoize(glob2re)` next to the other memoize calls, would be a less
+> verbose way to do this? --[[smcv]]
+
 --------------------------------------------------------------
 <pre>
 diff --git a/IkiWiki.pm b/IkiWiki.pm