... 尾递归最佳化 tail recursion optimisation,TRO 尾递归 tail recursive 尾递归评估 tail recursive evaluation ...
基于18个网页-相关网页
Notice that broker is tail recursive.
请注意broker是尾递归的。
In Erlang there is no need for loops because tail recursive functions are transparently optimized to run in constant space.
而在Erlang中不需要使用循环,因为尾递归函数会被自动优化在固定的空间中运行。
If we could find a way to remove these unneeded stack frames, our tail-recursive functions would run in a constant stack size.
如果我们能找到一个除去这些不需要的栈结构的方法,那么我们的尾部递归函数就可以在固定大小的栈中运行。
应用推荐