Author: leo
Date: Thu Feb 2 16:40:17 2006
New Revision: 11410
Modified:
trunk/examples/shootout/ack.py
Log:
increase ack.py recursion limit, so that python runs ack(3,11) - +4 times
slower than parrot ;)
Modified: trunk/examples/shootout/ack.py
==============================================================================
--- trunk/examples/shootout/ack.py (original)
+++ trunk/examples/shootout/ack.py Thu Feb 2 16:40:17 2006
@@ -9,7 +9,7 @@ def ack(m, n):
def main():
n = int(sys.argv[1])
- sys.setrecursionlimit(10000)
+ sys.setrecursionlimit(100000)
print "Ack(3, %d) = %d" % (n, ack(3, n))
main()