3 ms·
I'm looking at the source, but I'm not sure why "without stack consumption" is true. Is this because trampoline is written such that it takes advantage of tail
by nick0garvey 7y ago
I'm looking at the source, but I'm not sure why "without stack consumption" is true. Is this because trampoline is written such that it takes advantage of tail call optimization even if the inner function doesn't?
https://github.com/clojure/clojure/blob/clojure-1.9.0/src/clj/clojure/core.clj#L6219 https://github.com/clojure/clojure/blob/clojure-1.9.0/src/cl...