• 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: Highlights of AppleScript 1.5.5 in Mac OS 9.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Highlights of AppleScript 1.5.5 in Mac OS 9.1


  • Subject: Re: Highlights of AppleScript 1.5.5 in Mac OS 9.1
  • From: Nigel Garvey <email@hidden>
  • Date: Fri, 12 Jan 2001 01:17:51 +0000

"Arthur J Knapp" wrote on Thu, 11 Jan 2001 10:46:10 -0500:

>>>On a plain Jane B&W G3 350, I get:
>
>>>-->{9,0}
>
>> That's a brain bender, isn't it? Running your script here, I get a result
>> of {2,0}
>
> But surely, you can't trust a speed test where one of the results
>is zero.

Not for a precise ratio, no. But logic does allow the broad
generalisation that if test one takes between nine and ten seconds and
test two takes between zero and one seconds, then test two completes in a
shorter time. If both tests are aimed at - and achieve - the same result,
then the method involved in test two is quicker. :-)

> If test t1 clocks in at 2, and test t2 at 0, the actual ratio
>between the two numbers can vary rather widely, because 0 simply
>means that the speed of test t2 is below the "threshhold" of
>the testing method.

That's right.

> If we increase the number of repetitions from 100 to 1000,
>and discover that {2, 0} becomes {20, 0}, we still haven't
>learned much about the actual ratio between the two tested
>methods.

Once it gets to that sort of result, the precise ratio isn't import. I've
already made up my mind about which method I prefer! :-)

NG


  • Prev by Date: Heinously and Tragically Bummed
  • Next by Date: Re: Script Application handles an event, then quits
  • Previous by thread: Re: Highlights of AppleScript 1.5.5 in Mac OS 9.1
  • Next by thread: Re: Highlights of AppleScript 1.5.5 in Mac OS 9.1
  • Index(es):
    • Date
    • Thread