• 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: NSArray - waste of time?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArray - waste of time?


  • Subject: Re: NSArray - waste of time?
  • From: mathew <email@hidden>
  • Date: Wed, 25 Apr 2007 16:29:42 -0500

On 4/25/07, Dave Camp <email@hidden> wrote:
That would be important if profiling your application indicated you
were using an inordinate amount of memory or time managing arrays.
For most uses, the overhead of NSArray is not noticeable. Don't fall
into the trap of premature optimization unless you have a very
specific problem that requires it.

I'd just like to throw in that the Red Pill screensaver uses NSArray to hold the objects in its particle system. So you can probably get away with NSArray performance for a regular application...


mathew _______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


References: 
 >NSArray - waste of time? (From: William Squires <email@hidden>)
 >Re: NSArray - waste of time? (From: Scott Stevenson <email@hidden>)
 >Re: NSArray - waste of time? (From: "Fen Soares" <email@hidden>)
 >Re: NSArray - waste of time? (From: Dave Camp <email@hidden>)

  • Prev by Date: Re: NSArray - waste of time?
  • Next by Date: Re: Inserting localized text to NSTextView
  • Previous by thread: Re: NSArray - waste of time?
  • Next by thread: Re: NSArray - waste of time?
  • Index(es):
    • Date
    • Thread