Browse Source

Added TODO comment.

Taddeus Kroes 13 years ago
parent
commit
8507c7fcfc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/validation.py

+ 2 - 0
src/validation.py

@@ -35,6 +35,8 @@ def validate(a, b):
     b = parser.run([b])
 
     # Evaluate a and b, counting the number of steps
+    # TODO: Optimization: if b is encountered while evaluating a, return
+    # VALIDATION_SUCCESS
     parser.set_root_node(a)
     A, a_steps = parser.rewrite_and_count_all()