aboutsummaryrefslogtreecommitdiff
path: root/ass2
diff options
context:
space:
mode:
Diffstat (limited to 'ass2')
-rw-r--r--ass2/q2/new_suffix_array.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/ass2/q2/new_suffix_array.py b/ass2/q2/new_suffix_array.py
index 0c97137..0751198 100644
--- a/ass2/q2/new_suffix_array.py
+++ b/ass2/q2/new_suffix_array.py
@@ -147,12 +147,6 @@ def skip_count(num_chars, start_point: Point):
chars_left -= incoming_length
direction = Node.string[0] if head.node.root else Node.string[head.node.end_index + 1]
- # next_node = head.node.get_child(direction)
- # incoming_length = next_node.edge_length
- #
- # chars_left -= incoming_length
- # head.set_node(next_node)
-
while chars_left > incoming_length:
direction = Node.string[0] if head.node.root else Node.string[head.node.end_index + 1]
next_node = head.node.get_child(direction)