Re: Script in Script Editor MUCH faster than compiled app -- why?
Re: Script in Script Editor MUCH faster than compiled app -- why?
- Subject: Re: Script in Script Editor MUCH faster than compiled app -- why?
- From: Christopher Nebel <email@hidden>
- Date: Wed, 30 Apr 2003 12:10:05 -0700
On Tuesday, April 29, 2003, at 10:21 AM, Jeff Porten wrote:
I've got a script running which:
1) creates a Finder list of files in a given folder (numbering in the
thousands)
2) opens each file for access sequentially
3) reads the file into a variable
4) and if the text contains a given string, adds this text to a
FileMaker Pro database (in a nested tell)
All working just fine. The thing I don't get: it's MUCH faster when
I've got the script open in Script Editor, than when I save it as a
compiled app and launch it. Makes no sense to me. Why is this
happening?
Assuming you're using Script Editor 1.x, it's probably that Script
Editor is less friendly to background processes than applets are. This
is also what leads to "delay" consuming most of your CPU when you use
it in Script Editor. I believe Script Editor 2.0 fixes this.
--Chris Nebel
Apple Development Tools
_______________________________________________
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.