• 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: Xcode 5.1 compiler option -Ofast
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Xcode 5.1 compiler option -Ofast (From: Alex Zavatone <email@hidden>)
 >Re: Xcode 5.1 compiler option -Ofast (From: Chris Lattner <email@hidden>)
 >Re: Xcode 5.1 compiler option -Ofast (From: Doug Hill <email@hidden>)
 >Re: Xcode 5.1 compiler option -Ofast (From: Chris Lattner <email@hidden>)
 >Re: Xcode 5.1 compiler option -Ofast (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: -isystem setting?
  • Next by Date: I found a Clang analyzer bug!
  • Previous by thread: Re: Xcode 5.1 compiler option -Ofast
  • Next by thread: Re: Xcode 5.1 compiler option -Ofast
  • Index(es):
    • Date
    • Thread