Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Business Object Versioning

From: g:santilli:tiscalinet:it at: 7-Apr-2002 11:56

Hi Robert, On Saturday, April 06, 2002, 3:22:22 PM, you wrote:
>> template: clear [] ; not recursive, use copy if you need it to recurse
RMM> I didn't get it here. Can you explain it a bit more? Robert I'm reusing the same block across function calls, to avoid useless memory allocations. This is fine if you are not calling the function recursively (which I don't think you'll be doing in your case, and my functions don't do anyway), since the block is not returned. I always put a warning when I use this technique, because it's easy to forget of it and then difficult to find the bugs. :) Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r