On 03/16/2016 04:51 PM, i go bananas wrote: > Iohannes, what do you mean when you say: > > "which signals get re-used is a function of the surrounding patch, and > unrelated to the creation order within the object's dsp-function." > > ??? > > Is there some sort of logic or rule to this? >
yes of course there is¹. the problem is, that it is none of your object's business and you cannot make any assumptions beforehand. what you can do is check at runtime - in the dsp function - whether you have recycled signals, and call optimized code if not; but in any case you need to cater for the case that all signals actually refer to the same memory. to cut this short: i think i'm not adding any additional information to what you already know, just expressing it in complicated terms. gmsrd IOhannes ¹ the algorithm is in d_ugen.c.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list