Re: Newbie question. Mixing Poly and Mono in schematics?
Posted: Sun Oct 16, 2022 9:59 am
While I actively "try" to avoid my plugin for a while.
Maybe some of you Flowstone-ninjas can enlighten me on these questions regarding CPU costs...?
Versus statements:
--> 10 multipliers in green vs 10 multiplications in Ruby?
--> 10 poly multipliers vs 10 multiplications in DSP?
--> 3 DSP with 10 multiplications each vs 1 DSP with 30 multiplications?
--> 1 division in poly vs "if applicable" 1 multiplication in poly (I know divisions cost more but is it a dealbreaker)
--> How do you FS/math-ninjas handle functions like sin() in poly (they are pretty sluggish in green also of course)? I'm not a math guy at all! I end up in overengineered exponential functions (and inversions of them) mixed with linear, only to get reallt sh*tty approximations of what I wanted
Are you using DSP only for this?
Note on the versus statements:
I understand that dividing into separate code parts is at a cost itself. I'm just curious of how much I loose or gain with one, or the other...
And... lastly...
--> So DSP is recompiled into ASM?
But unoptimized, contrary to for example MV's highly optimized ASM's.
If poly prims are DSP that compiles to ASM? Are they to be considered separate DSP code parts that come at the same cost as connecting the same operations using separate DSP's? This relates a bit to the versus above on poly.
Newbie question overload here. Sorry
Maybe some of you Flowstone-ninjas can enlighten me on these questions regarding CPU costs...?
Versus statements:
--> 10 multipliers in green vs 10 multiplications in Ruby?
--> 10 poly multipliers vs 10 multiplications in DSP?
--> 3 DSP with 10 multiplications each vs 1 DSP with 30 multiplications?
--> 1 division in poly vs "if applicable" 1 multiplication in poly (I know divisions cost more but is it a dealbreaker)
--> How do you FS/math-ninjas handle functions like sin() in poly (they are pretty sluggish in green also of course)? I'm not a math guy at all! I end up in overengineered exponential functions (and inversions of them) mixed with linear, only to get reallt sh*tty approximations of what I wanted
Note on the versus statements:
I understand that dividing into separate code parts is at a cost itself. I'm just curious of how much I loose or gain with one, or the other...
And... lastly...
--> So DSP is recompiled into ASM?
But unoptimized, contrary to for example MV's highly optimized ASM's.
If poly prims are DSP that compiles to ASM? Are they to be considered separate DSP code parts that come at the same cost as connecting the same operations using separate DSP's? This relates a bit to the versus above on poly.
Newbie question overload here. Sorry