I’ve never personally encountered a stack overflow that wasn’t caused by infinite recursion. In these cases, a dynamic stack size wouldn’t help, it would just take a little longer to run out of memory.
I’ve never personally encountered a stack overflow that wasn’t caused by infinite recursion. In these cases, a dynamic stack size wouldn’t help, it would just take a little longer to run out of memory.