Speed up a slow loop

J. Landman Gay jacque at hyperactivesw.com
Wed Mar 9 14:33:04 EST 2022


On 3/8/22 5:56 PM, Neville Smythe via use-livecode wrote:
> reducing the list to around 20K words evidently removes the issue, which suggests multiple copies of the array are being created somewhere in (Jacque’s original ) search algorithm.

Yeah, I was keeping two copies without realizing it. Once I cleared unused variables I was able 
to reduce the amount of RAM being used by about 5MB.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


More information about the use-livecode mailing list