Banning recursive functions from self-inlining is not good.
Documenting *inline-expansion-limit* is good, but it is not a classy fix for this bug.
I think both in here and potentially elsewhere what one may want to do is to sniff the stack before deciding to continue: that is, inline if the limit is not reached, and there is at least X amount of stack-space left.
Banning recursive functions from self-inlining is not good.
Documenting *inline- expansion- limit* is good, but it is not a classy fix for this bug.
I think both in here and potentially elsewhere what one may want to do is to sniff the stack before deciding to continue: that is, inline if the limit is not reached, and there is at least X amount of stack-space left.