这减少了迭代过程中的内存占用,因为堆栈深度始终保持一致,而不依赖于树的高度。
This reduces memory usage during the iteration because the stack depth is constant instead of dependent on the height of the tree.
请注意在SPE上编写深度递归函数有些问题,原因是在SPE上没有任何堆栈溢出保护,而且本地存储也很小。
Just note that writing deeply recursive functions on the SPE is problematic because there is no stack overflow protection on the SPE, and the local store is small to begin with.
所有那些启用堆栈转储的跟踪将会把堆栈导入到这个深度。
All traces that have stack Dump enabled will output the stack to this depth.
应用推荐