Comment Comment by sorokod >Unfortunately for Scala programmers, the JVM doesn't perform this optimisation.Kotlin performs tailrec optimisation and is compiled to jvm. parent sorokod 8 years ago
Kotlin performs tailrec optimisation and is compiled to jvm.