Re: The Case of the Missing Case Statement
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