Reverse a list
Peter M. Brigham
pmbrig at gmail.com
Tue Feb 17 12:59:37 EST 2015
Yes, speed will be an issue if the data is thousands of lines. I'm usually dealing with less than a thousand iterations, and taking a half-second or so to do the job is nearly unnoticeable for the user.
-- Peter
Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig
On Feb 17, 2015, at 11:55 AM, Dr. Hawkins wrote:
> On Mon, Feb 16, 2015 at 6:23 PM, Peter M. Brigham <pmbrig at gmail.com> wrote:
>
>> No need to change the itemdel in a loop, you can use this instead:
>>
>> put getItem(pList, pIndex, pDelim) into tItem
>>
>
> Won't this be orders of magnitude slower?
>
> I can see the use in the general case, but Im ususally in nested loops
> where performance matters when this comes up . . .
More information about the use-livecode
mailing list