• 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 14:34:48 -0700
  • Thread-topic: IOS floating point performance

> A few things:
>
> - The little ARM in the iPad 3 is nothing compared to your desktop. Not only
> is it not as fast, it doesn't have the memory bandwidth. Also, an iPad 4 will
> be twice as fast.
> - make sure you're running optimized code. You can set optimization flags on
> individual files (that's what I do in our compute-heavy code, so I can run
> debug releases for the UI but leave the computation optimized).
> - Find a way to compute less. Algorithmic optimizations are key here. Maybe a
> larger step size?
> - Can you break up the work into multiple tasks? That will allow you to
> parallelize the work. At the very least, make sure you're doing it on a
> separate dispatch queue/NSOperationQueue so it doesn't block your main UI.

I am currently doing it on an NSThread. I may try replacing all the doubles
with floats in the algorithm and see how that goes (on a backup of course!).

How do I set optimization on a per-file basis?

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


  • Follow-Ups:
    • Re: IOS floating point performance
      • From: Rick Mann <email@hidden>
References: 
 >Re: IOS floating point performance (From: Rick Mann <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