Re: Longer and longer...
Re: Longer and longer...
- Subject: Re: Longer and longer...
- From: KOENIG Yvan <email@hidden>
- Date: Mon, 6 Sep 2010 15:21:02 +0200
May you check if you are using some properties ?
If you do, it would be useful to clear them when the script ends its task.
Yvan KOENIG (VALLAURIS, France) lundi 6 septembre 2010 15:20:30
Le 6 sept. 2010 à 14:27, Gil Dawson a écrit :
>
> I do indeed use lots of recursion. I had thought that Script Editor would forget all about those recursive calls after the script exited, but I guess not.
>
> Here's a recent sequence: 35 ms, 60 ms, 88 ms, 138 ms, 160 ms, 180 ms.
>
> Oddly, Smile doesn't do this. It stays around 30 ms.
>
> --Gil
>
>
> On Sep 5, 2010, at 10:42 PM, Ronald Hofmann wrote:
>
>> Well, this is hard to say without seeing the script.
>> But it sounds like you got some recursive calls of parts of the script which causes this behaviour.
>>
>> Ronald
>> ---
>>
>>
>> Am 06.09.2010 um 07:35 schrieb Gil Dawson:
>>
>>> I have a rather long script which I run in Script Editor over and over several times. The central loop takes about 35ms the first time I run it, then 50ms the next time, then on and on... up to 400 ms after maybe a dozen runs, when I found out:
>>>
>>> Quitting and relaunching Script Editor resets the speed back to 35 ms.
>>>
>>> Does this seem odd?
>>>
>>> --Gil
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden