optimization: pagespec_match_list with no num limit matches before sorting
authorJoey Hess <joey@gnu.kitenet.net>
Sun, 11 Apr 2010 05:30:03 +0000 (01:30 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Sun, 11 Apr 2010 05:30:03 +0000 (01:30 -0400)
commit0bfc364a7df124509855b8ed0b1b33ab5bc9ebbb
tree18f7d7d765e463ac748a56afdbd728e6baeb10ba
parentcecbd529389788c1f1cb647e2ff297cda7554456
optimization: pagespec_match_list with no num limit matches before sorting

This can be a lot faster, since huge numbers of pages are not sorted
only to mostly be thrown away. It sped up a build of my blog by at least
5 minutes.
IkiWiki.pm
doc/todo/smarter_sorting.mdwn
t/pagespec_match_list.t