Scilab 6.1 too slow to display long vectors in the console
Reported by Federico Miyara
BUG DESCRIPTION:
----------------
When displaying in the console a vector with many components Scilab 6.1 takes about 100 times longer than 6.0.2. This is quite noticeable for vectors with thousands of components, where it may easila take several minutes. This behavior seems to be a regression
ERROR LOG:
----------
N/A
HOW TO REPRODUCE THE BUG:
-------------------------
Fs = 44100
T = 2.5
t = [0:T*Fs]/Fs;
ximp = exp(-t/0.3).*rand(t,"normal") + 0.004*rand(t,"normal");
tic
ximp = ximp(:)
toc
This takes 1.36 s in 6.0.2 (on my machine system)
The same code in 6.1 takes 182 s
OTHER INFORMATION:
------------------
1) The operations involved are almost instantaneous, the problem is in the display
2) It would seem as if the hard disk were being used, since in other experiment I attempted to copy simultaneously a large file for backup purposes and Scilab halted the display until the file transfer was over.