the keys of myArray

Richard Gaskin ambassador at fourthworld.com
Fri Sep 8 13:14:41 EDT 2006


Dar Scott wrote:
> I think Richard described it.  He seems to have some "inside"  
> knowledge that a hash table is used.  The above data is consistent  
> with that.

No inside info, other than discussions with Scott Raney on other issues 
which suggest he's very good with hashes and likes them a lot.

In this case it was just a guess based on the blazing speed of array 
access relative to any other lookup method.  I had occassion this summer 
and last to do some extensive benchmarking on various lookup methods, 
and have always found that if I can use an array I can speed things up 
by several orders of magnitude.

--
  Richard Gaskin
  Managing Editor, revJournal
  _______________________________________________________
  Rev tips, tutorials and more: http://www.revJournal.com



More information about the use-livecode mailing list