Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
38 votes
4 answers
11k views

What limitations does the JVM impose on tail-call optimization

Clojure does not perform tail call optimization on its own: when you have a tail recursive function and you want to have it optimized, you have to use the special form recur. Similarly, if you have ...