Best array population & access optimization

Dar Scott dsc at swcp.com
Fri Jun 20 13:55:00 EDT 2003


On Friday, June 20, 2003, at 12:00 PM, Mark Brownell wrote:

> Does anyone have any testing examples regarding arrays and 
> array-management in a stack that uses numbers? How about suggestions 
> for array optimization techniques?

Though contents of array elements can be the internal form of numbers 
(8-byte float), the keys are strings.  If you use numbers as keys, they 
are converted to strings using the numberFormat local property.  
However, keys and contents-as-strings do not have constraints on the 
characters, they can be any byte sequence.

Dar Scott




More information about the use-livecode mailing list