----- Original Message -----
From: Frank Barknecht fbar@footils.org To: pd-list@iem.at Cc: Sent: Thursday, June 21, 2012 12:00 PM Subject: Re: [PD] [TogEdge] - anything else ?
Hi, On Wed, Jun 20, 2012 at 05:29:49PM +0200, tim vets wrote:
don't know if it matters if the tgl isn't visible, but i guess you could also use: [i ]X[== 0]
That would be *much* faster than using the [tgl]. You can squeeze a little bit more performance out of it if you use [f ] instead of [i ].
In Pd-l2ork with the [tgl] _not_ visible, it's 5-10% slower than [f]x[== 0] There are plenty of circumstances-- say, where you're only sending a few sporadic messages to the object chain in question-- where the difference between using an invisible [tgl] and [f]x[== 0] is insignificant. (For example, to trigger on/off messages for depressing/releasing a piano key where it's unlikely you'd send more than one message per block.) Both take very little time to execute.
If it's visible, then of course it's much faster to use [f]x[== 0].
Also, note that if you want the same functionality as [tgl] you need to use the outlet for [== 0] and not [f].
-Jonathan
Ciao
Frank
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list