[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: argument of a function
From: |
Jaroslav Hajek |
Subject: |
Re: argument of a function |
Date: |
Tue, 30 Sep 2008 20:32:26 +0200 |
On Tue, Sep 30, 2008 at 1:10 PM, Bertrand Roessli
<address@hidden> wrote:
> Hello,
>
> does anybody know if passing many arguments to
> a function affects the speed of execution?
>
> e.g.
>
> [ff,fp]=crys_int_fit(xsav,x,hkl_crys_AA,genpar,intfsqr,domains_cell,flag_k0,propvec_cell_rlu,propvec_cell_AA,...
> lat_cell,ion_cell,spgsym_cell,spgtrans_cell,moment_cell);
>
Slightly. There is some bookkeeping done for each argument.
> And if yes, how to improve that?
Depends on what you need to do with the arguments.
>
> Thank You,
>
> Bertrand
>
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
--
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz