summaryrefslogtreecommitdiff
path: root/doc/plugins
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-10-09 17:15:40 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-10-09 17:15:40 -0400
commit74409f940d24f51a08becb626e266c91d40d69bd (patch)
tree4d493ab4853468f344e388957b93539b84c88436 /doc/plugins
parentecbe5576f8b7152e96653669bc91eae021aaa91f (diff)
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.
Diffstat (limited to 'doc/plugins')
-rw-r--r--doc/plugins/write.mdwn2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/plugins/write.mdwn b/doc/plugins/write.mdwn
index 2254d7025..c72418c3c 100644
--- a/doc/plugins/write.mdwn
+++ b/doc/plugins/write.mdwn
@@ -632,7 +632,7 @@ in the wiki that match the [[ikiwiki/PageSpec]].
The page will automatically be made to depend on the specified
[[ikiwiki/PageSpec]], so `add_depends` does not need to be called. This
-is significantly more efficient than calling `add_depends` and
+is often significantly more efficient than calling `add_depends` and
`pagespec_match` in a loop. You should use this anytime a plugin
needs to match a set of pages and do something based on that list.