Feb 03 2011 | 8:44 pm
    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.

    • Feb 03 2011 | 8:49 pm
      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.
    • Feb 04 2011 | 2:54 pm
      vanille: what about sprintf? of course it wont work for lists.
    • Feb 05 2011 | 4:21 am
      Thanks for the comments. I see it's probably as trivial as I thought it might be when it comes to small patches.
    • Nov 08 2011 | 2:57 am
      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.