On 4/10/13 5:43 AM, Artella Coding wrote:
Hi does rust do tail call optimization? The reason I am asking is that the following tail call recursive implementation results in a stack overflow. Thanks.
Not in the general case. But the WIP patch I have to use the machine return value may allow LLVM to optimize that function into a loop.
Patrick _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev