Re: Finding Filenames that contain a certain string
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