> -------------------------- > > Message: 7 > Date: Thu, 14 Jul 2011 10:06:01 -0500 > From: Ronald Zellner <zell...@tamu.edu> > To: use-livecode@lists.runrev.com > Subject: Re: repeat with i= > Message-ID: <f324e51b-41d7-4882-a0c8-7ee09c9f6...@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 > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode