Is there a way to optimize tail calls in Scala?

后端 未结 0 1242
一向
一向 2021-01-24 15:06

I am aware that Scala has optimizations for tail-recursive functions (i.e. those functions in which the recursive call is the last thing executed by the function). What I am ask

相关标签:
回答
  • 消灭零回复
提交回复
热议问题