Re: Xcode 5.1 compiler option -Ofast
Re: Xcode 5.1 compiler option -Ofast
- Subject: Re: Xcode 5.1 compiler option -Ofast
- From: Chris Lattner <email@hidden>
- Date: Tue, 18 Mar 2014 21:59:41 -0700
Happy to help. When in doubt, we definitely prefer you to use -Os in release builds. This is why it is the default for all new project templates.
Thanks all,
-Chris
On Mar 18, 2014, at 10:31 AM, Alex Zavatone <email@hidden> wrote:
> That statement, Chris, is exactly what I was hoping to find out. Blazing perf isn't important for me currently, so -Os, it is.
>
> Cheers.
>
> Sent from my iPad
>
> On Mar 18, 2014, at 12:21 PM, Chris Lattner <email@hidden> wrote:
>
>> The way I would put it is that you should prefer -Os, *unless* performance is critically important for some part of your app. This is the sort of flag you should opt into when you need the performance, not something you should default to using everywhere.
>>
>> Thanks for the great summary Doug,
>>
>> -Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden