I\'be seen a few questions regarding missing tail call optimization in C# supposed开发者_运维技巧ly making the language ill suited for recursive algorithm implementations. this, however,begs the quest
Sometimes it\'s simple enough (if the self call is the last statement, it\'s tail recursion开发者_如何学C), but there are still cases that confuse me. A professor told me that \"if there\'s no instruc
According to answers to that question: Which, if any, C++ compilers do tail-recursion optimization? it seems, that compiler should do tail-recursion optimization.