From 142eeb943975cb788c2d9d6ba5a334651d08c026 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Sun, 5 Feb 2017 12:36:34 +1030 Subject: [PATCH] Removing the print calls makes things much faster --- tools/bfs.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/bfs.py b/tools/bfs.py index 586f47c..cd0c517 100755 --- a/tools/bfs.py +++ b/tools/bfs.py @@ -137,12 +137,14 @@ while True: current_room = current_status[0][-1][1] current_value = rooms[current_room].mutate_value(current_status[1]) - print(current_status) - print(current_value) + #print(current_status) + #print(current_value) if current_room == 0x0a12: # Vault Door if eval(current_value) == 30: # We have reached the goal + print(current_status) + print(current_value) sys.exit(0) else: # We must not enter the vault door unless we have the right number, else the orb will disappear