Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit faa8c76

Browse files
author
Juanjo Alvarez
committed
Fix comment
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
1 parent 7a0a80e commit faa8c76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bblfsh/node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def offset(self, v: int) -> None:
4848
# property with the dict or Node objects in properties or list/tuple properties
4949
# when .children is accessed (because the user could change the node using get_dict()
5050
# or .properties).
51-
# Also, all these " in children" are O(1) so this will be slow for frequently accessing
51+
# Also, all these " in children" are O(n) so this will be slow for frequently accessing
5252
# the children property on big nodes.
5353
class CompatChildren(MutableSequence):
5454
def __init__(self, parent: "Node") -> None:

0 commit comments

Comments
 (0)