Re: IOS floating point performance
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