• 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: Optimization questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Optimization questions


  • Subject: Re: Optimization questions
  • From: "Mark Wagner" <email@hidden>
  • Date: Wed, 22 Nov 2006 12:18:24 -0800

On 11/22/06, Blair M. Burtan <email@hidden> wrote:
If you don't care about code size (because you have tons of RAM anyway) is
it better to use Fastest or Fastest, Smallest?  Which produces faster code?

Either. Both. These days, code speed isn't simply a matter of loop unrolling and inlining. A program that loops and branches like crazy but fits entirely within the CPU's L1 cache might be much faster than a loop-free, fully-inlined version. Profile your program both ways, and pick the one that works best.

--
Mark Wagner
_______________________________________________
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: 
 >Optimization questions (From: "Blair M. Burtan" <email@hidden>)

  • Prev by Date: Optimization questions
  • Next by Date: how to include script-generated code?
  • Previous by thread: Optimization questions
  • Next by thread: Re: Optimization questions
  • Index(es):
    • Date
    • Thread