combine VS sprintf?

    Nov 27 2012 | 1:59 pm
    I've read somewhere on this forum that sprintf takes MORE resources because... I forgot why. Is it more economical to use combine where is feasible?

    • Nov 27 2012 | 7:26 pm
      What do you mean by "profile your patch"?
      I never knew that objects, thanks for pointing me to it.
    • Nov 27 2012 | 9:50 pm
      The combine help file mentions: "Please note that for every single unique time that is output by combine a new symbol will be added to Max's symbol table consuming an ever growing amount of Max's resources."
      In this behavior it is identical to sprintf. Was this what you are referring to? It means that in some cases it is better to avoid the use of sprintf or combine altogether.
    • Nov 28 2012 | 2:03 pm
      @jvkr: yeah, that's what I was thinking about exactly.
      @nicolas danet: Not exactly, because I'm dynamically accessing and writing directly to pattrstorage, so I need the form "patcher[x1]::sub patch[x2]::object " I'm using join for actual to avoid having too many unique ID's for combine/sprintf objects.
      I'll look into Shark as well, already using cpuclock.
      Thanks a bunch.
    • Mar 30 2016 | 2:06 am
      So what's a way to concatenate without using up memory? Tosymbol?