• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: really slow repeat loop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: really slow repeat loop


  • Subject: Re: really slow repeat loop
  • From: Brian Johnson <email@hidden>
  • Date: Tue, 18 Jan 2005 16:55:48 -0800 (PST)


On Tue, 18 Jan 2005, Gabe Benveniste wrote:

This loop is REALLY slow and I'm looking for a way to make it faster.

  set theRows to every data row in theDataSource
  display dialog "checking"

  repeat with theRow in theRows
    set is_checked to the contents of the data cell "checkbox_row" of theRow
    set username to the contents of the data cell "username" of theRow

    if is_checked is true then
      set end of user_list to username
     end if
  end repeat


This is an ASStudio "table view", right? I messed around with these (with and without datasource, etc.) last year for a bit and never got the kind of performance I hoped for out of it. Fortunately, it wasn't so slow as to render the appilcation unusable, so I eventually just left it alone. I'll be watching to see if any hints emerge here...


  - brian johnson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >really slow repeat loop (From: Gabe Benveniste <email@hidden>)

  • Prev by Date: really slow repeat loop
  • Next by Date: Re: really slow repeat loop
  • Previous by thread: really slow repeat loop
  • Next by thread: Re: really slow repeat loop
  • Index(es):
    • Date
    • Thread