1 [[!meta author="""http://smcv.pseudorandom.co.uk/"""]]
3 [[!meta authorurl="""http://smcv.pseudorandom.co.uk/"""]]
5 [[!meta title="""change to todo/Improving_the_efficiency_of_match__95__glob on ikiwiki"""]]
7 [[!meta permalink="http://ikiwiki.info/recentchanges/#change-e810fe394b49955971299329136d46548d95ec6b"]]
9 <div id="change-e810fe394b49955971299329136d46548d95ec6b" class="metadata">
10 <span class="desc"><br />Changed pages:</span>
11 <span class="pagelinks">
13 <a href="http://git.ikiwiki.info/?p=ikiwiki;a=blobdiff;f=doc/todo/Improving_the_efficiency_of_match__95__glob.mdwn;h=0a9d8c69c4c35a230f5080d1fd1f4cacb6b806ae;hp=8f70f1dde4bbe7fd7b66807c36e6f4d7fd0b08b0;hb=e810fe394b49955971299329136d46548d95ec6b;hpb=171c429f829aac53cb449e3bb574d2a1669e025e" title="diff" rel="nofollow">[[diff|wikiicons/diff.png]]</a><a href="http://ikiwiki.info/ikiwiki.cgi?page=todo%2FImproving_the_efficiency_of_match__95__glob&do=goto" rel="nofollow">todo/Improving the efficiency of match_glob</a>
17 <span class="desc"><br />Changed by:</span>
18 <span class="committer">
20 <a href="http://smcv.pseudorandom.co.uk/" rel="nofollow">smcv</a>
23 <span class="desc"><br />Commit type:</span>
24 <span class="committype">web</span>
25 <span class="desc"><br />Date:</span>
26 <span class="changedate"><span class="relativedate" title="Wed, 10 Nov 2010 09:26:16 -0400">09:26:16 11/10/10</span></span>
27 <span class="desc"><br /></span>
31 <a href="http://ikiwiki.info/ikiwiki.cgi?rev=e810fe394b49955971299329136d46548d95ec6b&do=revert" title="revert" rel="nofollow">[[revert|wikiicons/revert.png]]</a>
34 <div class="changelog">
37 possible improvement<br />
44 diff --git a/doc/todo/Improving_the_efficiency_of_match__95__glob.mdwn b/doc/todo/Improving_the_efficiency_of_match__95__glob.mdwn
45 index 8f70f1d..0a9d8c6 100644
46 --- a/doc/todo/Improving_the_efficiency_of_match__95__glob.mdwn
47 +++ b/doc/todo/Improving_the_efficiency_of_match__95__glob.mdwn
48 @@ -2,6 +2,10 @@ I've been profiling my IkiWiki to try to improve speed (with many pages makes sp
50 Here's my patch - please consider it! -- [[KathrynAndersen]]
52 +> It seems to me as though changing `glob2re` to return qr/$re/, and calling
53 +> `memoize(glob2re)` next to the other memoize calls, would be a less
54 +> verbose way to do this? --[[smcv]]
56 --------------------------------------------------------------
58 diff --git a/IkiWiki.pm b/IkiWiki.pm
63 <!-- e810fe394b49955971299329136d46548d95ec6b -->