https://note.nkmk.me/en/python-sys-recursionlimit/Get the current value of the recursion limit: sys.getrecursionlimit()
Set the current value of the recursion limit: sys.setrecursionlimit()
Change the maximum size of the call stack: resource.setrlimit()
【 在 sayde 的大作中提到: 】
: 比如一个经典的R-tree程序,如果用python写,就不能搞递归。
: 顺便问问,python改写递归程序的思路一般会是什么?怎么样才能搞快点?
--
FROM 119.233.182.*