Re: sine and cosine functions
Re: sine and cosine functions
- Subject: Re: sine and cosine functions
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 27 Feb 2004 09:45:30 -0800
On 2/27/04 8:54 AM, "ehsan saffari" <email@hidden> wrote:
>
On 27/02/2004 09:36, Emmanuel, email@hidden wrote:
>
>
> At 8:25 AM -0600 27/02/04, ehsan saffari wrote:
>
>> Here are native AS functions for sine & cosine, based on a Guidebook
>
>> module published by Apple. Input in degrees.
>
>>
>
>> In my unscientific tests, they are faster than using the same functions
>
>> from 'Math' or 'More Math' osaxen.
>
>
>
> On my machine, the handlers are 5 times slower than Satimage osax' "cos"
>
> and "sin".
>
>
on my machine, the moon phase applet completes a run in 5 seconds using
>
Satimage, and 3 seconds using the native sine & cosine. MacOS 8.6. When
>
run from within Script Debugger 3.0.7, calling stimage or other Math osax
>
is still slower than native functions.
>
>
> I recall that Satimage osax' trigonometric functions accept lists in
>
> input, so the speed benefit in a real situation is often still much larger.
>
>
Satimage 1.8.4 doesn't, I wanted to test... is there a non X version that
>
does?
If you're talking ancient history, probably all bets are off. MacOS 8.6! How
many others are still using this here on their main computer? I recall that
until quite recently we had a couple of correspondents using 7.6.1, but
that's now gone the way of all flesh...
8.6 was a decent system. There's no particular reason for you to upgrade to
9.1? Or some reason not to?
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.