Speed up a slow loop

Richard Gaskin ambassador at fourthworld.com
Thu Mar 3 00:41:40 EST 2022


Jacque wrote:

 > so I'm not really looping through the keys, just looking for
 > a matching one. The loop is for each user word I need to find.
 > If there's no key, then the word isn't legal.

What is the ratio of keys whose values are "true" and those which are 
"false"?

And what is the ratio of writes to that array vs reads?

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com



More information about the use-livecode mailing list