<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Hello Jean-Yves,
<br>
<br>
Le 06/05/2021 à 11:13, Jean-Yves Baudais a écrit :
<br>
<blockquote type="cite" style="color: #007cff;">.../...
<br>
test_ll improves a bit test_l because it uses tail call, but the
max without seg.fault is far from 1000. Where does this limit of
1000 come from?
<br>
</blockquote>
<br>
from
<br>
--> currentMaxDepth = recursionlimit()
<br>
currentMaxDepth =
<br>
1000.
<br>
<br>
set by default in the user's preferences:
<br>
<a class="moz-txt-link-freetext"
href="https://help.scilab.org/docs/6.1.0/en_US/recursionlimit.html">https://help.scilab.org/docs/6.1.0/en_US/recursionlimit.html</a>
<br>
<br>
A recursion can be triggered in a involontary way according to a
quite indirect and complex path. That was the case i have met. I
have fixed it with a lot of spying pause() and disp().
<br>
But it's not really a way of working...
<br>
<br>
Samuel
<br>
</body>
</html>