>>I don't understand... why does Holgate's code take 20 times longer >>than Brigaut's code on my machine, but not on Brigaut's machine? >>I'm on a Mac. >> >>---- >> >>on mouseDown me >> >> srcList = [] >> srcList[10000] = "smurf" >> >> oldMs = the milliseconds >> >> revList =[] >> repeat with thisEntry in srcList >> addAt(revList, 1, thisEntry) >> --revList.addAt(1, thisEntry) >> end repeat >> >> put "Holgate: " & the milliseconds - oldMs >>end > > >Well, amongst other things you have come up with your own method. >The above routine is not what I wrote, I used append and not addAt, >and I used repeat with x down to y, not repeat with x in y. If you >time this:
OK, I see - but no, I didn't invent it. It was a citation from the mail that Brigaut wrote as an answer to you. I took for granted that it was your method as he was addressing you, but in fact it was Tab Julius's method... Sorry. -A. [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
