• 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: Script in Script Editor MUCH faster than compiled app -- why?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script in Script Editor MUCH faster than compiled app -- why?


  • Subject: Re: Script in Script Editor MUCH faster than compiled app -- why?
  • From: Axel Luttgens <email@hidden>
  • Date: Tue, 29 Apr 2003 21:06:38 +0200

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?


A similar question occured some times ago on the list, in a thread called "Why are compiled scripts slower than from Script Editor?" (initiated by Patrick S. Page-McCaw on 1st February).

Which version of OS/AS are you running?
Did you have the opportunity to isolate one or more commands that really run far slower in your compiled script?
And, if not too long, could you post your script?
_______________________________________________
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.
References: 
 >Script in Script Editor MUCH faster than compiled app -- why? (From: Jeff Porten <email@hidden>)

  • Prev by Date: Re: Machine ID
  • Next by Date: Re: Error: Stack overflow
  • Previous by thread: Re: Script in Script Editor MUCH faster than compiled app -- why?
  • Next by thread: Re: Script in Script Editor MUCH faster than compiled app -- why?
  • Index(es):
    • Date
    • Thread