mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
up
This commit is contained in:
parent
e020997305
commit
26a4dfc097
10
benchmarks/recursive.py
Normal file
10
benchmarks/recursive.py
Normal file
@ -0,0 +1,10 @@
|
||||
import sys
|
||||
|
||||
sys.setrecursionlimit(10000)
|
||||
|
||||
def f(n):
|
||||
if n == 8000:
|
||||
return -1
|
||||
return f(n + 1)
|
||||
|
||||
assert f(0) == -1
|
Loading…
x
Reference in New Issue
Block a user