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

Re: Cocoa optimization


  • Subject: Re: Cocoa optimization
  • From: Erik Buck <email@hidden>
  • Date: Wed, 9 Nov 2005 08:03:08 -0800 (PST)

There is an appendix about optimizing Cocoa applications in "Cocoa Programming."

There is even a specific example about optimizing the use of NSString and reusing NSString instances.  You can get an inexpensive electronic copy from Amazon: http://www.amazon.com/exec/obidos/ASIN/0672322307/ref=ase_stepwisecom-20/102-8187476-6651366

You can get the examples for free: http://www.cocoaprogramming.net/Downloads.html


B Optimizing and Finding Memory Leaks 1087

Optimizing Applications .......................................................................1087

Premature Optimization ..............................................................1087

The 80/20 Rule .............................................................................1088

The LotsOfWords Application ......................................................1088

First Optimize Graphics ...............................................................1101

Optimizing Nongraphical Code ...................................................1109

Finding Performance Bottlenecks ................................................1109

Optimize Only the Bottlenecks ...................................................1111

Optimizing Rules of Thumb ........................................................1116

Avoiding Dynamic Memory Allocation .......................................1117

Finding Memory Leaks ..........................................................................1128

ObjectAlloc ...................................................................................1128

MallocDebug ................................................................................1130

Using Cocoa Frameworks to Find Leaks ......................................1130

Summary ................................................................................................1132


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: [NSCoder versionForClassName] gives the current version?
  • Next by Date: Re: Questiong on NSString sizeWithAttributes
  • Previous by thread: Re: Cocoa optimization
  • Next by thread: (no subject)
  • Index(es):
    • Date
    • Thread