[PD] some useful abstractions
Frank Barknecht
fbar at footils.org
Sun Feb 26 17:36:53 CET 2006
Hallo,
Tim Blechmann hat gesagt: // Tim Blechmann wrote:
> > out of interest, is there any difference in cpu usage between a
> > message box bang, and [t b] ???
>
> |bang( evaluates the string "bang" to a bang ... in general, you don't
> want to do that ...
>
> |b| is the object of choice ...
Though the difference is quite minor. The object to absolutely avoid
is the GUI-bang.
Attached is a little benchmark for all four types. The GUI-bang gives
horrible results and you have to be careful not to halt Pd with that
benchmark patch.
Ciao
--
Frank Barknecht _ ______footils.org_ __goto10.org__
-------------- next part --------------
A non-text attachment was scrubbed...
Name: benchmark.tgz
Type: application/x-gtar
Size: 987 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20060226/97ef90d8/attachment.tgz>
More information about the Pd-list
mailing list