• 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: sine and cosine functions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: sine and cosine functions
      • From: Emmanuel <email@hidden>
    • Re: sine and cosine functions
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: sine and cosine functions
  • Next by Date: Re: Text to iPod
  • Previous by thread: Re: sine and cosine functions
  • Next by thread: Re: sine and cosine functions
  • Index(es):
    • Date
    • Thread