Arrays in Rev (long)

Dar Scott dsc at swcp.com
Tue Jul 13 00:27:00 EDT 2004


On Jul 12, 2004, at 10:24 PM, Troy Rollins wrote:

> Even more interesting, addressing the keys of the array by string name 
> rather than integer key location, doesn't increase the time 
> appreciably (then again, I imagine even the element location is a 
> string in Transcript.) -

Right.  Keys are always strings.  However the elements (values) can be 
in internal numeric form.

I would guess a log increase as you increase the number of elements and 
a tiny increase as you increase the size of keys.

Dar



More information about the use-livecode mailing list