Re: Script slowing down - suggestions?
Re: Script slowing down - suggestions?
- Subject: Re: Script slowing down - suggestions?
- From: Martin Crisp <email@hidden>
- Date: Thu, 7 Mar 2002 19:55:40 +1100
- Organization: Tesseract Computing
On Wed, 6 Mar 2002 19:10:43 +1100 the muse struck John W Baxter, who
wrote (in message <
p05101513b8ac896dab1c@[207.149.192.229]>):
>
At 10:16 +1100 3/7/2002, Martin Crisp wrote:
>
> So, after all that, my question is: What causes AppleScript to slow to
>
> this extent? Is it the number of interactions with the Finder (the log
>
> file is constantly being opened & closed, as are the player files)? Or
>
> is it the 'second-level' loading of compiled scripts? Or something else?
>
>
Uninformed instinct suggests to me that the issue is tied up with how
>
AppleScript does garbage collection.
Unfortunately that is where my thoughts had been leading too. In which
case I might be able to minimise the effect by changing where the
most-nested compiled script is loaded.
>
Depending on how Apple dealt with underlying differences in that area in
>
Mac OS X's tools, it might or might not be the case that under Mac OS X
>
your suite of scripts doesn't have the slowdown.
I'm on a very limited income. Moving to X is too expensive for me at the
moment. [It's near the top of the list of things to do, right after more
memory and disk...]
>
I might tend to view Python as a more suitable prototyping environment for
>
this sort of problem (but knowing Python fairly well helps me say that).
Never played with python, was going to when I had LinuxPPC installed
(but that was on a 7500 with the bodgy open firmware :-) then I added a
G3 card and couldn't be fussed with Linux at that point. FORTH <blech>)
[wonder if the ancient version of frontier I have here, somewhere, would
still run...(I don't fancy my chances)]
Thanks for the comments.
Have Fun
Martin
--
Kinky:
What I do that you wouldn't
Perverted:
What you do that I wouldn't
Almost always SMASHed
_______________________________________________
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.