Multiple Arrays and single Basic Table Field

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10048
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Multiple Arrays and single Basic Table Field

Post by FourthWorld » Sat Aug 06, 2011 1:17 am

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.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: Multiple Arrays and single Basic Table Field

Post by mwieder » Sat Aug 06, 2011 1:41 am

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.

Post Reply