How can we dynamically create variable names from changing value "x" on a loop?

Richard Gaskin ambassador at fourthworld.com
Mon Nov 7 16:02:42 CET 2016


Ben Rubinstein wrote:

 > (Re Mike and Mark's comments, if it's a small thing I'll use an
 > array; but for large quantities of data - I'm often dealing with
 > very large files, and after calling this function will loop over
 > tens or hundreds of thousands of rows using the variables - I feel
 > the need for speed outweighs the simplicity.)

Indeed, contrary to popular belief I've seen cases where certain 
aggregate operations on an array take more time than achieving the same 
outcomes with delimited lists.

But so far only a few.

How did you benchmark that, and what was the measured difference?

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com



More information about the use-livecode mailing list