You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/node.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,11 +19,12 @@ Base.:(==)(::Node{T}, ::Node{T}) where T
19
19
## Accessing child nodes
20
20
21
21
Internally, to store the children, a node simply stores the reference to the first and the last child node, and each child stores the references to the next and previous child.
22
-
The `.children` property is implemented simply as a lazy iterator that traverses the linked list.
22
+
The `.children` property is implemented simply as a lazy iterator of type [`NodeChildren`](@ref)that traverses the linked list.
23
23
As such, some operations, such as determining the number of children a node has with [`length`](@ref Base.length(::NodeChildren)), can have unexpected ``O(n)`` complexity.
0 commit comments