<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"Comic Sans MS";
panose-1:3 15 7 2 3 3 2 2 2 4;}
@font-face
{font-family:Monospaced;
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;}
pre
{mso-style-priority:99;
mso-style-link:"Préformaté HTML Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.PrformatHTMLCar
{mso-style-name:"Préformaté HTML Car";
mso-style-priority:99;
mso-style-link:"Préformaté HTML";
font-family:Consolas;
color:black;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=FR link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'>Hello,<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'><o:p> </o:p></span></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0><tr><td style='padding:0cm 0cm 0cm 0cm'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:windowtext;mso-fareast-language:EN-US'>See also bugzilla </span><span style='color:windowtext'>Scilab's Bug Tracker – Bug 16359<o:p></o:p></span></p></td><td style='padding:0cm 0cm 0cm 0cm'></td></tr></table><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:windowtext'>Time request : 100 s<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:windowtext'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:windowtext'>Results :<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:windowtext'>Xcos Scilab 5.5.2 :<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:windowtext'>Durée de la simulation : 258.3 s<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:windowtext'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:windowtext'>Xcos Scilab 6.1.0 :<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:windowtext'>Durée de la simulation : 4353.4 s<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'>BR.<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'>Pierre<o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='color:windowtext'><img width=250 height=150 style='width:2.6in;height:1.5583in' id="Image_x0020_1" src="cid:image002.jpg@01D62ECA.92EF5C00"><o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:7.0pt;font-family:"Comic Sans MS";color:#538135'>Before printing, think about ENVIRONMENTAL responsabity</span></b><span style='color:windowtext'><o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='color:windowtext;mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='color:windowtext'>De :</span></b><span style='color:windowtext'> users <users-bounces@lists.scilab.org> <b>De la part de</b> Samuel Gougeon<br><b>Envoyé :</b> mercredi 20 mai 2020 16:50<br><b>À :</b> users@lists.scilab.org<br><b>Objet :</b> Re: [Scilab-users] Scilab 6.1 too slow to list large vectors<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Le 30/03/2020 à 11:56, Federico Miyara a écrit :<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal style='margin-bottom:12.0pt'><br><span style='font-family:"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</span><o:p></o:p></p><pre><span style='font-size:12.0pt;font-family:"Monospaced",serif'>Fs </span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#5C5C5C'>=</span><span style='font-size:12.0pt;font-family:"Monospaced",serif'> </span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#BC6A8F'>44100</span><span style='font-size:12.0pt;font-family:"Monospaced",serif'><o:p></o:p></span></pre><pre><span style='font-size:12.0pt;font-family:"Monospaced",serif'>T </span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#5C5C5C'>=</span><span style='font-size:12.0pt;font-family:"Monospaced",serif'> </span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#BC6A8F'>2.5</span><span style='font-size:12.0pt;font-family:"Monospaced",serif'><o:p></o:p></span></pre><pre><span style='font-size:12.0pt;font-family:"Monospaced",serif'>t </span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#5C5C5C'>=</span><span style='font-size:12.0pt;font-family:"Monospaced",serif'> </span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#4A55DB'>[</span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#BC6A8F'>0</span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#FFAA00'>:</span><span style='font-size:12.0pt;font-family:"Monospaced",serif'>T</span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#5C5C5C'>*</span><span style='font-size:12.0pt;font-family:"Monospaced",serif'>Fs</span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#4A55DB'>]</span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#5C5C5C'>/</span><span style='font-size:12.0pt;font-family:"Monospaced",serif'>Fs;<o:p></o:p></span></pre><pre><span style='font-size:12.0pt;font-family:"Monospaced",serif'>ximp </span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#5C5C5C'>=</span><span style='font-size:12.0pt;font-family:"Monospaced",serif'> </span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#32B9B9'>exp</span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#4A55DB'>(</span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#5C5C5C'>-</span><span style='font-size:12.0pt;font-family:"Monospaced",serif'>t</span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#5C5C5C'>/</span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#BC6A8F'>0.3</span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#4A55DB'>)</span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#5C5C5C'>.*</span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#32B9B9'>rand</span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#4A55DB'>(</span><span style='font-size:12.0pt;font-family:"Monospaced",serif'>t,</span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:rosybrown'>"normal"</span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#4A55DB'>)</span><span style='font-size:12.0pt;font-family:"Monospaced",serif'> </span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#5C5C5C'>+</span><span style='font-size:12.0pt;font-family:"Monospaced",serif'> </span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#BC6A8F'>0.004</span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#5C5C5C'>*</span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#32B9B9'>rand</span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#4A55DB'>(</span><span style='font-size:12.0pt;font-family:"Monospaced",serif'>t,</span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:rosybrown'>"normal"</span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#4A55DB'>)</span><span style='font-size:12.0pt;font-family:"Monospaced",serif'>;<o:p></o:p></span></pre><pre><span style='font-size:12.0pt;font-family:"Monospaced",serif'><o:p> </o:p></span></pre><pre><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#32B9B9'>tic</span><span style='font-size:12.0pt;font-family:"Monospaced",serif'><o:p></o:p></span></pre><pre><span style='font-size:12.0pt;font-family:"Monospaced",serif'>ximp </span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#5C5C5C'>=</span><span style='font-size:12.0pt;font-family:"Monospaced",serif'> ximp</span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#4A55DB'>(</span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#FFAA00'>:</span><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#4A55DB'>)</span><span style='font-size:12.0pt;font-family:"Monospaced",serif'><o:p></o:p></span></pre><pre><span style='font-size:12.0pt;font-family:"Monospaced",serif;color:#32B9B9'>toc<o:p></o:p></span></pre><pre><span style='font-size:12.0pt;font-family:"Monospaced",serif'><o:p> </o:p></span></pre><p class=MsoNormal><span style='font-family:"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...</span><o:p></o:p></p></blockquote><p><o:p> </o:p></p><p>Apparently, <span style='color:#3333FF'>the maximum number N of lines of the console scroll buffer set in the user preferences (by default to 3000) is not taken into account to abstract the display in this kind of situation</span>. Is it?<o:p></o:p></p><p>Yet, if there is no opened diary, displaying 100000 "primary" rows looks 97% useless if the scroll buffer is 3000-row tall: 97000 rows will anyway become unreachable an lost, after the full display.<o:p></o:p></p><p>So, even without anticipating wrapping of long primary rows, that still multiplies the number of actual rows to display, wouldn't it be wise to limit the display to N primary lines, either the N last ones, or the N/2 first ones + "..." + the N/2 last ones ?<o:p></o:p></p><p>Even in the case of having so tall full diaries is required (that is a very specific and exceptional case), it is always possible to increase N through the preferences.<o:p></o:p></p><p style='margin-bottom:12.0pt'>My two cents...<br><br>Samuel<o:p></o:p></p><p><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>