summaryrefslogtreecommitdiff
path: root/docs/manual/access.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manual/access.html')
-rw-r--r--docs/manual/access.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/manual/access.html b/docs/manual/access.html
index 1accecb..4581583 100644
--- a/docs/manual/access.html
+++ b/docs/manual/access.html
@@ -624,7 +624,9 @@
<p>
This function returns the node with type <code class="computeroutput"><span class="identifier">node_document</span></code>,
which is the root node of the document the node belongs to (unless the node
- is null, in which case null node is returned).
+ is null, in which case null node is returned). Currently this function has
+ logarithmic complexity, since it simply finds such ancestor of the given
+ node which itself has no parent.
</p>
<a name="xml_node::path"></a><a name="xml_node::first_element_by_path"></a><p>
While pugixml supports complex XPath expressions, sometimes a simple path