Prepending
A very elementary kind of question I'm sure, but I'm wondering if there is any computational difference or whether one method might be preferred over the other in the case of prepending with the prepend object or with a message object.
i cant look at the patch but i can guess the situation.
using a messagebox is definetly slower because of the graphics update
which probably need 10 times more CPU to pass "hello" than all other
objects together.
thats true for everything with graphics. so as soon as you are experienced
enough to know things like gate, bang, messages by heart you should
stop using button, flonum, messagebox, grapic gates and this stuff as
they only make your patch slower.
-110
vanille: what about sprintf? of course it wont work for lists.
Thanks for the comments. I see it's probably as trivial as I thought it might be when it comes to small patches.
There's a really cool tool called 'pedant' in the toolbox area, It compares the execution speed of 2 patchers (and can do N executions and calculate the average execution time).
I use it all the time and had a few surprises on what is efficient code and what isn't.