Page 2 of 2

Re: Multiple Arrays and single Basic Table Field

Posted: Sat Aug 06, 2011 1:17 am
by FourthWorld
mwieder wrote:Actually, now that arrays are first-class objects in LiveCode I think numeric indices may maintain their order - it's a different type of array under the hood.
I could be wrong, but I believe numeric indices still use the same hashing scheme as alphanumeric ones, but the change had to do with how arrays are evaluated internally so they're no longer treated as empty strings in as many cases as they used to be.

Re: Multiple Arrays and single Basic Table Field

Posted: Sat Aug 06, 2011 1:41 am
by mwieder
Dang. Somewhere in the back of my mind was the thought that an array with purely numeric indices was a different beast and were therefore faster, sort of like the way private functions are faster because of not having to traverse the entire stack. This may have been from a discussion with Mark Waddingham or it may have been from the list or maybe just something I dreamed. Oh well.