Run-Only is slower

I have recently written a script that makes use of the standard editions and AKUA Sweets. When I run this from the Script Editor it runs almost twice as fast as when I save it as a Run-Only. This script is also opening, reading, and closing text files.
Does anyone know why this would be? Can it be avoided?
Andrew Herzog

: I have recently written a script that makes use of the standard editions and
: AKUA Sweets. When I run this from the Script Editor it runs almost twice
: as fast as when I save it as a Run-Only. This script is also opening,
: reading, and closing text files.
: Does anyone know why this would be? Can it be avoided?
Try bumping up the memory partition of your applet…
Dave L.

Been there, done that, didn’t help. Any other clues? In fact I have set more memory for the applet than the script editor and it still didn’t go as fast.
: Try bumping up the memory partition of your applet…
: Dave L.

: Been there, done that, didn’t help. Any other clues? In fact I have set more
: memory for the applet than the script editor and it still didn’t go as
: fast.
Today, the same thing happened to me… I was scripting an application, (FileMaker) and the saved applet was very sloooow. So I removed all of the activate commands within that application’s tell statements, and put an “activate me” command immediately after the “on open” command in my applet (or “on run” or as the very first line in your script?).
The result was that the script applet zoomed along…
I wonder if this might help you… ?
Dave L.

: I tried this and still it runs faster in the editor than as a Run-Only
: application.
What happens if it isn’t saved as a run-only application?
Later,
Rob J

I tried this and still it runs faster in the editor than as a Run-Only application.
: Today, the same thing happened to me… I was scripting an application,
: (FileMaker) and the saved applet was very sloooow. So I removed all of the
: activate commands within that application’s tell statements, and put an
: “activate me” command immediately after the “on open”
: command in my applet (or “on run” or as the very first line in
: your script?).
: The result was that the script applet zoomed along…
: I wonder if this might help you… ?
: Dave L.

I have tried this and it still runs faster in the editor. It is as though the editor knows things it ain’t telling when it makes the run-only application. Oh, well I will live with it for now. Unless somebody out there knows some hair-brained way to make it go faster.
: What happens if it isn’t saved as a run-only application?
: Later,
: Rob J