<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<font face="Courier New">Dear All,<br>
<br>
I have observed that Scilab 6.1 seems to have a regression respect
to 6.0.2. Sometimes one forgets to put semicolon after the
coputation of a vector with tens of thousands components. Scilab
6.0.2 listed all the components very fast. That was nice because
one hadn't to cancel the computation, it took about 1 s. With 6.1
it takes much longer. For instance<br>
<br>
</font>
<pre style="font-family:Monospaced;font-style:normal;font-size:16.0;"><span style="color:rgb(0,0,0);">Fs</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,106,143);">44100</span>
<span style="color:rgb(0,0,0);">T</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(188,106,143);">2.5</span>
<span style="color:rgb(0,0,0);">t</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(74,85,219);">[</span><span style="color:rgb(188,106,143);">0</span><span style="color:rgb(255,170,0);">:</span><span style="color:rgb(0,0,0);">T</span><span style="color:rgb(92,92,92);">*</span><span style="color:rgb(0,0,0);">Fs</span><span style="color:rgb(74,85,219);">]</span><span style="color:rgb(92,92,92);">/</span><span style="color:rgb(0,0,0);">Fs</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(0,0,0);">ximp</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(50,185,185);">exp</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(92,92,92);">-</span><span style="color:rgb(0,0,0);">t</span><span style="color:rgb(92,92,92);">/</span><span style="color:rgb(188,106,143);">0.3</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(92,92,92);">.*</span><span style="color:rgb(50,185,185);">rand</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(0,0,0);">t</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">normal</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(74,85,219);">)</span> <span style="color:rgb(92,92,92);">+</span> <span style="color:rgb(188,106,143);">0.004</span><span style="color:rgb(92,92,92);">*</span><span style="color:rgb(50,185,185);">rand</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(0,0,0);">t</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">normal</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(50,185,185);">tic</span>
<span style="color:rgb(0,0,0);">ximp</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(0,0,0);">ximp</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(255,170,0);">:</span><span style="color:rgb(74,85,219);">)</span>
<span style="color:rgb(50,185,185);">toc
</span>
</pre>
<font face="Courier New">This takes 1.36 s in 6.0.2<br>
<br>
The same code in 6.1 takes 182 s<br>
<br>
Any idea why?<br>
<br>
I know I can cancel at any moment the script execution, but if
there were a process that took a lot of time one wouldn't be
willing to stop it...<br>
<br>
Regards,<br>
<br>
Federico Miyara<br>
</font>
</body>
</html>