Arrays: new and old keys, i

Dick Kriesel dick.kriesel at mail.com
Sun Sep 14 01:38:14 EDT 2008


Maybe the benefit of unsorted keys is faster execution.  Why wait for a sort
if you don't need it?


On 9/13/08 10:25 PM, "Ken Ray" <kray at sonsothunder.com> wrote:

> 
>> That would do me - except the most useful would be the ability to get the
>> full ordered index.
>> 
>> put the ordered keys of theDataA
>> 
>> Because you want to things like:
>> 
>> repeat for each key sortedKey in theDataA
> 
> I've been watching this thread and I have to ask:
> 
> "What benefit is it to the Rev developer (not the engine) to have the keys
> NOT sorted?"
> 
> I mean, I understand why the *engine* may want to keep the keys in a special
> order, but every time I work with the keys of an array, either (a) I don't
> care what order they're in, or (b) I really want them sorted. Personally,
> I've never WANTED to have the keys in an unsorted order...
> 
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the use-livecode mailing list