add_depends: optimise influence calculation
authorJoey Hess <joey@gnu.kitenet.net>
Fri, 9 Oct 2009 21:15:40 +0000 (17:15 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Fri, 9 Oct 2009 21:15:40 +0000 (17:15 -0400)
commit74409f940d24f51a08becb626e266c91d40d69bd
tree4d493ab4853468f344e388957b93539b84c88436
parentecbe5576f8b7152e96653669bc91eae021aaa91f
add_depends: optimise influence calculation

I made match_* functions whose influences can vary depending on the page
matched set a special "" influence to indicate this.

Then add_depends can try just one page, and if static influences are found,
stop there.
IkiWiki.pm
IkiWiki/Plugin/meta.pm
doc/plugins/write.mdwn