Tail Call Optimization in Go

后端 未结 3 1048
孤独总比滥情好
孤独总比滥情好 2020-12-09 15:06

Does the Go programming language, as of now, optimize tail calls? If not, does it at least optimize tail-recursive calls of a function to itself?

3条回答
  •  余生分开走
    2020-12-09 15:32

    It does not. Nor is there any plan to according to the core development team on the mailing list.

提交回复
热议问题