[Scilab-users] Large variables and execution speeds

Clément David clement.david at scilab-enterprises.com
Mon Mar 2 09:09:51 CET 2015


> 
> > .../...
> > However using a tlist rhs/lhs force a copy which is not needed, using
> > named arguments let the interpreter avoid some copies.
> Do you mean that calls such as
> 
> myfun(a, parname2=val2, parname1=val1)
> 
> saves time and memory w.r.t.
> 
> myfun(a, val1, val2)
> 
> ?

Of course not, lets rewrite : using function argument instead of a huge
scilab data structure lets the interpreter avoid some copies.

--
Clément




More information about the users mailing list