Does Xcode for the iPhone eliminate tail-call recursion?
Does Xcode support tail-call optimization on the iPhone?
Solution
xcode just uses gcc -- assuming the same thing for the phone, the question is whether gcc performs tail call elimination. I don't believe it does in anything beyond the most basic of cases.