Halite Recursion Limit (Python 3)


#1

Hey there,
I coded a small recursive function which calculates the most fuel-efficient way to get from one point to another.
At my PC environment (Python 3.6.7, Anaconda) worked everything perfectly fine, but in the web-editor the bot throws an recursion error. (default Recursion Limit in my environment: 3000) Does Halite have a different recursion limit for performance reasons? Or what else could be reasons for that error?


#2

We don’t explicitly change the recursion limit from the default. You might try sys.setrecursionlimit or rewriting the algorithm to be not explicitly recursive.