Csound Csound-dev Csound-tekno Search About

[Csnd] Execution Speed Question

Date2010-07-05 19:55
From"Art Hunkins"
Subject[Csnd] Execution Speed Question
Does this:
kamp2 = kamp2 * imult
ga1     =       ga1 + (a5 * kamp2)   

execute any faster than:
ga1     =       ga1 + (a5 * kamp2 * imult)   
?

Art Hunkins


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-07-05 20:05
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: Execution Speed Question
I think the first is faster as it does 1 k-rate multiple and one ka
multiply, while second may do 2 ak multiplies.  Wou dneed yo run with -v
to check....


> Does this:
> kamp2 = kamp2 * imult
> ga1     =       ga1 + (a5 * kamp2)
>
> execute any faster than:
> ga1     =       ga1 + (a5 * kamp2 * imult)
> ?
>
> Art Hunkins
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>




Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"