Re: NSArray - waste of time?
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