i'm working on a very big patch which consumes at 4096 vector size at last 60% CPU.
Now, I know I'm no Max ninja, and never been in all my life a master of optimization.
My point is now I *need* to become one.
What my patch is about:
- a main patch with three big subpatches/tracks. When one track is ON other ones are OFF. I use mute~ and a lot of gates to make sure nothing is running on those excluded ones. I think mute~ will erase patchcord cpu load as soon it is placed.
What i know of optimization (random order):
1) dump graphic elements.
I got lots of sliders, bangs, and some tables. But I think (remember, not a ninja) one msp patchcords needs a lot more cpu then 1000 bangs. So i think I better try to optimize cords. I'm using a lot of reverbs and feedbacks, btw.
2) use poly~.
ok, I can't use poly
3) See CPU load with Shark.
I yet have to try it.
4) Have the main patch recall the tracks JUST as you need them.
I can't. I need to have Max applications: i would need to have one main app + three apps. But signals can't cross communicate between apps.
6) ask the forum if you find smarter people.
ok, let's try it