• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Longer and longer...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Longer and longer...
      • From: Nathan Greenstein <email@hidden>
    • Re: Longer and longer...
      • From: KOENIG Yvan <email@hidden>
References: 
 >OT: Yahoo web mail (From: Doug McNutt <email@hidden>)
 >Longer and longer... (From: Gil Dawson <email@hidden>)

  • Prev by Date: Re: Aperture won't start a script
  • Next by Date: Re: Longer and longer...
  • Previous by thread: Longer and longer...
  • Next by thread: Re: Longer and longer...
  • Index(es):
    • Date
    • Thread