Recursion limit?

enonod

Well-Known Member
Licensed User
Longtime User
What is a sensible stack limit for recursion please?
 
Why limit?

I use a game-tree searching recursive algo and have had no problems recursively searching trees with millions of nodes. What would you like to do? IMO recursion works like normal in B4A.

Bas
 
Upvote 0
Thank you both.
I don't actually have a problem or error, I just wanted to be aware of it if there was a limit before going any deeper.
 
Upvote 0
Recursion is limited by memory, and the number of recursions depends on the memory used for each.
 
Upvote 0
Thank you derez
 
Upvote 0
Back
Top