1.1 --- a/tests/shootout/binary-trees.py Sun Feb 18 00:50:52 2007 +0100
1.2 +++ b/tests/shootout/binary-trees.py Sun Feb 18 01:39:11 2007 +0100
1.3 @@ -26,7 +26,7 @@
1.4 max_depth = max(min_depth + 2, 16) #int(argv[1]))
1.5 stretch_depth = max_depth + 1
1.6
1.7 - #print "stretch tree of depth %d\t check: %d" % (stretch_depth, check_tree(make_tree(0, stretch_depth)))
1.8 + print "stretch tree of depth %d\t check: %d" % (stretch_depth, check_tree(make_tree(0, stretch_depth)))
1.9
1.10 long_lived_tree = make_tree(0, max_depth)
1.11
1.12 @@ -37,9 +37,9 @@
1.13 for i in xrange(1, iterations + 1):
1.14 check += check_tree(make_tree(i, depth)) + check_tree(make_tree(-i, depth))
1.15
1.16 - #print "%d\t trees of depth %d\t check: %d" % (iterations * 2, depth, check)
1.17 + print "%d\t trees of depth %d\t check: %d" % (iterations * 2, depth, check)
1.18
1.19 - #print "long lived tree of depth %d\t check: %d" % (max_depth, check_tree(long_lived_tree))
1.20 + print "long lived tree of depth %d\t check: %d" % (max_depth, check_tree(long_lived_tree))
1.21
1.22 if __name__ == '__main__':
1.23 main()