Re: sine and cosine functions
Re: sine and cosine functions
- Subject: Re: sine and cosine functions
- From: ehsan saffari <email@hidden>
- Date: Fri, 27 Feb 2004 10:54:45 -0600
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?
thanks
cheers
ehsan
_______________________________________________
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.