• 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: The Case of the Missing Case Statement
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The Case of the Missing Case Statement


  • Subject: Re: The Case of the Missing Case Statement
  • From: "S. J. Cunningham" <email@hidden>
  • Date: Sun, 05 Apr 2015 09:05:27 -0400

Reminds me of Renormalization in Quantum Electrodynamics where you subtract infinity from infinity and get 1/137 :)


On Apr 5, 2015, at 8:55 AM, Shane Stanley wrote:

> On 5 Apr 2015, at 10:40 pm, S. J. Cunningham <email@hidden> wrote:
>>
>> I take your point about "being lost in the noise" which is why I tried to make everything else but the IF handlers identical and run a sufficiently large number of cases.  That way small differences should start showing up.
>
> Yes and no. Say you have two methods that take 1 second and 1.001 seconds. Run them 1000 times and you get, in theory, 1000 seconds and 1001 seconds. The difference, as a percentage, doesn't change: a small difference remains a small difference. Unless you can produce tests where what you're testing takes a significant percentage of the total time, you're not going to get a meaningful result -- especially given the inherent variability in AS times. And the fact that it can't be done in this case probably tells you all you need to know.
>
> (And once you start runnings stuff in AS lots of times, you're probably open to issues like AS garbage collection kicking in.)
>
> --
> Shane Stanley <email@hidden>
> <www.macosxautomation.com/applescript/apps/>
>


 _______________________________________________
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


References: 
 >The Case of the Missing Case Statement (From: "S. J. Cunningham" <email@hidden>)
 >Re: The Case of the Missing Case Statement (From: email@hidden)
 >Re: The Case of the Missing Case Statement (From: email@hidden)
 >Re: The Case of the Missing Case Statement (From: "S. J. Cunningham" <email@hidden>)
 >Re: The Case of the Missing Case Statement (From: Shane Stanley <email@hidden>)
 >Re: The Case of the Missing Case Statement (From: "S. J. Cunningham" <email@hidden>)
 >Re: The Case of the Missing Case Statement (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: The Case of the Missing Case Statement
  • Next by Date: Tell Me to Quit in Unix-ese...
  • Previous by thread: Re: The Case of the Missing Case Statement
  • Next by thread: Re: The Case of the Missing Case Statement
  • Index(es):
    • Date
    • Thread