• 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: IOS floating point performance
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IOS floating point performance


  • Subject: Re: IOS floating point performance
  • From: Trygve Inda <email@hidden>
  • Date: Wed, 07 Aug 2013 16:18:56 -0700
  • Thread-topic: IOS floating point performance

> I have written an app that does astronomical calculations like that , Sun and
> Moon rise and set and location and….. I never saw a problem with speed. I was
> very impressed with how much it can do. However, are you using Objective C
> methods for the calculations? The run time dispatch in Objective C could slow
> things considerably. I wrote all my math in C++.
>
> David

I am using C for the math calcs. The issue is I am trying to calc a month at
a time... Sun rise/set and moon rise/set for 30 days. For one day it is
plenty fast, but the slow speed shows up when doing a month at a time.

Did you use floats or doubles?

Trygve




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Re: IOS floating point performance (From: David Rowland <email@hidden>)

  • Prev by Date: Re: IOS floating point performance
  • Next by Date: Re: IOS floating point performance
  • Previous by thread: Re: IOS floating point performance
  • Next by thread: Re: IOS floating point performance
  • Index(es):
    • Date
    • Thread