Re: Longer and longer...
Re: Longer and longer...
- Subject: Re: Longer and longer...
- From: Gil Dawson <email@hidden>
- Date: Mon, 6 Sep 2010 05:27:52 -0700
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
>
>
_______________________________________________
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