Re: AppleScript runs slow on Intel Mac's
Re: AppleScript runs slow on Intel Mac's
- Subject: Re: AppleScript runs slow on Intel Mac's
- From: Paul Berkowitz <email@hidden>
- Date: Sat, 23 Sep 2006 12:34:46 -0700
- Thread-topic: AppleScript runs slow on Intel Mac's
Title: Re: AppleScript runs slow on Intel Mac's
On 9/23/06 12:19 PM, "Leif Öquist" <email@hidden> wrote:
After having added the 'activate' command to Steiner's originally posted code I expected the runtime to be much faster on Steiner's Intel machine, than on my older machine of notable inferior prestanda, not the other way as Michelle Steiner claims happen when we run exactly the same code. That seems to me be the real mystery to solve (as Michelle Steiner writes in her recent posting "2. Why does inserting "activate" into the code improve it on some Intel Macs, but not on others?").
I would expect it would have something to do with how many other processes are running on your Mac, and most especially how much Free and Inactive RAM you have available. If you're having to page in and out of virtual RAM, it may be that specifying your targeted application to be the active process assigns it priority to whatever active RAM is available while otherwise it has to wait its turn for virtual RAM, whereas if Michelle as lots of active RAM available for all processes it makes almost no difference. Or something along those lines. The same thing probably applies to PPC computers too, although obviously if there are processes running in Rosetta on an Intel app (even processes irrelevant to your script) the situation may well crop up more frequently on the Intel machine.
--
Paul Berkowitz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden