• 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: Get position of item in list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get position of item in list


  • Subject: Re: Get position of item in list
  • From: Kai <email@hidden>
  • Date: Wed, 25 Jun 2003 21:01:43 +0100

on Wed, 25 Jun 2003 16:33:27 +1000, Richard Morton <email@hidden>
wrote:

> Kai may be aware of this already, but seeing as it's speed we're
> considering, it's perhaps worth noting that assigning multiple values
> in one statement...

I was aware of the time penalty caused by list building, thanks Richard. (In
fact, I was discussing this issue a while back with Nigel Garvey, who can
always be relied for much wisdom - especially when the subject involves
speed and performance!) :-)

In spite of this, I still use 'multiple assignment' for various scripts,
mainly for compactness. If performance becomes a real issue, then it's
fairly easy to separate out the assignment statements.

However, it's a good point - and one well worth making here. :-)

--
Kai
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: tab delimited data file
  • Next by Date: Re: Get position of item in list
  • Previous by thread: Re: Get position of item in list
  • Next by thread: Re: Get position of item in list
  • Index(es):
    • Date
    • Thread