Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Days and hours



Emmanuel wrote:

>>And if you are using Panther you can achieve the same thing by calling on an
>>AppleScript Studio app instead of Automator.
>
>Yes, that's cool. However you get a coarser granularity than with chrono.
>OM(BN)M, Automator says 0.002, while chrono says 0.0002.

Which hardly matters if the margin of error is significantly larger than either measurement. If the limit of precision is only ±0.1 sec then it doesn't matter if your timer gives 0.002 or 0.0002 sec as its result because they're both rubbish data. Accuracy, not resolution, is the limiting factor that requires timing brief operations over multiple iterations.

(Hint: Anyone who wants to profile and optimise their code really needs to do their homework on the subject first, else they'll just end up wasting their time.)

has
http://freespace.virgin.net/hamish.sanderson/
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.