3 ms·
Exactly, it doesn't. Only self-recursion with recur is tail optimized by the JVM
by dikbrouwer 15y ago
Exactly, it doesn't. Only self-recursion with recur is tail optimized by the JVM
- deleted 15y ago[deleted]
- oconnor0 15y agorecur isn't tail-optimized by the JVM. It's converted by the Clojure compiler into a loop.
- dikbrouwer 15y agoTrue, my bad