repeat with i=
James Hurley
jhurley0305 at sbcglobal.net
Fri Jul 15 10:47:42 EDT 2011
> --------------------------
>
> Message: 7
> Date: Thu, 14 Jul 2011 10:06:01 -0500
> From: Ronald Zellner <zellner at tamu.edu>
> To: use-livecode at lists.runrev.com
> Subject: Re: repeat with i=
> Message-ID: <F324E51B-41D7-4882-A0C8-7EE09C9F6FF7 at tamu.edu>
> Content-Type: text/plain; charset=us-ascii
>
> Jim's seems to be the most efficient and accurate,
Ron,
Have you compared replacing one array element with another? I believe it is much more efficient than deleting an item in a list.
The engine has to do a lot of work to delete an item from a list. The whole list has to be reconstructed.
Check out "Random Pick" in RevOnline.
Jim Hurley
>
More information about the use-livecode
mailing list