Kind of ... I'm not sure about stack-overflow, but yes idea is that: in your code, Erlang needs as many function-call contexts as factors in the number.<br><br>In this case I guess this is not a very big number of contexts. But this kind of consideration have to be made when programming in Erlang.
<br><br><div><span class="gmail_quote">On 5/4/07, <b class="gmail_sendername">Martin Ankerl</b> <<a href="mailto:firstname.lastname@example.org">email@example.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 5/4/07, Ludovic Coquelle <<a href="mailto:firstname.lastname@example.org">email@example.com</a>> wrote:<br>> Not sure this is useful here, but fact could be made tail-recursive:<br><br>Does that mean that my code could (at least theoretically) produce a
<br>stack overflow, and when tail-recursion is possible this is save?<br><br>--<br>Martin Ankerl | <a href="http://martin.ankerl.com">http://martin.ankerl.com</a><br></blockquote></div><br>