These are two abbreviated versions of a patch I'm working on.
As far as I can tell, these two patches do the exact same thing. In both patches, after the right inlet is set, changing the left inlet will either a) send 1's to the object boxes when the inlets are different, or send 0's to the object boxes and then trigger the bangs when the inlets are the same.
Some questions I have:
1. Am I overlooking anything? Are they really exactly the same (in terms of function)?
2. [sel] and [sel 0] apparently work the same if the right inlet is avoided. Is there a good reason to use one and not the other?
3. Which of the two (if any) is cheaper processor-wise, or which of the two is faster (and why)?
4. Is there an even better way to do this?
5. I'm working on Windows XP and I tried using [cputime] but either I don't really know how to use it, or it doesn't work the way I expect it to. I guess what confuses me is that the right inlet is hot, not cold... anyway, any clarification will be appreciated.
This part of the patch will have to fire thousands of times very fast, so speed is definitely a priority. Thanks very much in advance -- this forum is great!