If there's any AI scripting expert around, Yay! becaue I have a question, an issue in other words.
I've been crafting my MirAI Hack since the last year and bla bla bla, and today it's ocasionally throwing me "stack overflow" errors, randomly.
Do you why this may be occuring?
"stack overflow" errors
Started by
NeoNilox
, Apr 07 2012 04:02 PM
1 reply to this topic
#1
Posted 07 April 2012 - 04:02 PM
#2
Posted 07 April 2012 - 08:30 PM
Most likely you have a function (indirectly) calling itself.
There's a limit to how many functions you can have called inside eachother.. It's a generous limit, and every time i've hit it, it's because i had something calling itself.
Also be sure to use proper tail calls when appropriate.
There's a limit to how many functions you can have called inside eachother.. It's a generous limit, and every time i've hit it, it's because i had something calling itself.
Also be sure to use proper tail calls when appropriate.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users