I'm guessing |msg prepend test| would send a |test( message when banged (but have to think carefully about the design of a good "prepend" functionality and look at the existing ones to figure out what to do there...)
If "prepend" doesn't do it, "msg" might be worth putting in.
I wonder, now, if the message box could be sped up by precompiling the contents somehow. That would be fun for another day...
cheers Miller
On Thu, Dec 30, 2004 at 04:40:43PM +0100, Tim Blechmann wrote:
hi miller, hi list ...
i came across this posting when searching my archive after benchmarking the pd message system ...
For prepend, at least, we could borrow an idea from Krzysztof and make a new "msg" object:
msg prepend msg append msg car msg cdr msg any
i'd request another msg mode (maybe called msg msg or something similar), that sends a fixed message on a bang. means |msg msg test| == |test(
i suppose this will be a speedup for messaging ... in my benchmarks the combination of |symbol test| and |unsymbol| was a lot faster that |test(
possibly the message_class code could be modified to improve the basic message handling, but i'm not really familiar with that part of pd and from what i saw, this it will require not only a few changes ...
cheers ... tim
-- mailto:TimBlechmann@gmx.de ICQ: 96771783 http://www.mokabar.tk
After one look at this planet any visitor from outer space would say "I want to see the manager." William S. Burroughs