Hello Arvid,

On m

Le 15/10/2018 à 10:11, Arvid Rosén a écrit :

/////////////////////////////////

N = 4;

n = 10000;

filters = list();

for i=1:n

  G=syslin('c', rand(N,N), rand(N,1), rand(1,N), rand(1,1));

  filters($+1) = G;

end

tic();

save('filters.dat', filters);

ts1 = toc();

tic();

save('filters.dat', 'filters');

ts2 = toc();

printf("old save %.2fs\n", ts1);

printf("new save %.2fs\n", ts2);

printf("slowdown %.1f\n", ts2/ts1);

/////////////////////////////////


--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

 Antoine Monmayrant LAAS - CNRS
 7 avenue du Colonel Roche
 BP 54200
 31031 TOULOUSE Cedex 4
 FRANCE

 Tel:+33 5 61 33 64 59
email : [email protected]
 permanent email : [email protected]

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to