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.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.
Multiple Arrays and single Basic Table Field
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- VIP Livecode Opensource Backer
- Posts: 10048
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Multiple Arrays and single Basic Table Field
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Multiple Arrays and single Basic Table Field
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.