• 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: Finding Filenames that contain a certain string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding Filenames that contain a certain string


  • Subject: Re: Finding Filenames that contain a certain string
  • From: Matt Deatherage <email@hidden>
  • Date: Fri, 20 Jul 2007 21:44:01 -0500

On 7/20/07 at 2:19 PM, Stockly, Ed <email@hidden> wrote:

> > If there's a performance penalty for building a large list, keep the
> > code in comments, run it once, and paste the results directly into
> > the script.
>
> Seriously? A penalty performance for building a list of 27 letters?

A) I've come across cases that involve building the equivalent of a
"source list" with nested loops that result in something like a 10,000
item list that has to be built every second or so, and that can be a
problem.  In such cases, I've usually kept one script to make the list,
then just dumped the result to a file and rebuilt it as necessary.  (I
do this in E-mail filtering, actually, but it's only about 600 entries.)

B) 27 letters?  What kind of alphabet do they use at the LA Times?  :-)

--Matt

--
Matt Deatherage                              <email@hidden>
GCSF, Incorporated                      <http://www.macjournals.com>

"Some mornings it just doesn't seem worth it to gnaw through the leather
 straps."  -- Emo Phillips


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Finding Filenames that contain a certain string (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: Re: Finding Filenames that contain a certain string
  • Next by Date: Re: Finding Filenames that contain a certain string
  • Previous by thread: Re: Finding Filenames that contain a certain string
  • Next by thread: Re: Finding Filenames that contain a certain string
  • Index(es):
    • Date
    • Thread