[PD] switch~ & cputime climbing
Frank Barknecht
fbar at footils.org
Wed Jun 13 20:32:15 CEST 2007
Hallo,
Claude Heiland-Allen hat gesagt: // Claude Heiland-Allen wrote:
> A solution:
>
> Use a better data structure than a linked list; a balanced tree would
> reduce time complexity to O(log n) instead of O(n) (if I remember
> correctly), admittedly at the cost of harder implementation.
>
> Workaround:
>
> Don't send messages to a switch~'d off vline~.
I think, people should be careful with sending messages to
switched-off dsp-objects anyway and consider switching off message
calculation inside their subpatches using [spigot] as well.
I suspect, other objects besides [vline~] may show similar behaviour.
At least I've encountered the cpu-climbing in switched-off subpatches
in some of my patches as well, that definitely weren't using [vline~].
I didn't yet find out which objects or combination of objects were
causing this, but blocking message calculation managed to fix it.
Ciao
--
Frank Barknecht _ ______footils.org_ __goto10.org__
More information about the Pd-list
mailing list