There is nothing in the runtime environment, which will lead to the fact that code execution in the deep stack will be slower than in the stack of small calls. There is no reason for this, because usually the execution of the code does not cause the stack to move.
When I speak usually, it means that there are some exceptions:
- Security checks / evidence checks usually go to the call stack to determine the current security context.
- Of course, throw and catch exceptions (you still donβt want to do this bypassing the tree, except interrupting it)
, , .NET , Big-O ( ), . , , , ... , Tailcall .
, Big-O, .