> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to