On Aug 16, 2007, at 7:07 PM, Frank Barknecht wrote:
Hallo, marius schebella hat gesagt: // marius schebella wrote:
when I look through miller's tutorial patches, I often find ";- messages" instead of a send object like: [;detune $1( vs [s detune] I wonder why, is there a significant difference?
I cannot speak for Miller, but one difference with message-senders is, that you send to various receivers in one go:
[; detune 0.2; freq 440; vol 80; ...(
which sometimes is handy for initializing many things with one click and in a central place.
Yeah, it's a syntactic shortcut, but one click init is also possible
using sends.
Also msg-bangs will warn, if there is no receiver available. send-sends just send and ignore it, if they send to nothing.
Hmm, that sounds to me like a bug. I don't see why these should
behave differently in this respect.
is one more efficient then the other
send-sends are much more effective than msg-sends, I suppose mostly because of dollar-variable replacements. See attached benchmark-patch.
Nice patch, that's a substantial difference. I got 80 for sendsends
and 150 for msgsends.
.hc
Ciao
Frank Barknecht _ ______footils.org_ __goto10.org__ <benchmark-sends.pd> <sendsend.pd> <msgsend.pd> _______________________________________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Terrorism is not an enemy. It cannot be defeated. It's a tactic.
It's about as sensible to say we declare war on night attacks and
expect we're going to win that war. We're not going to win the war
on terrorism. - retired U.S. Army general, William Odom