Re: NSArray vs. NSSet
Re: NSArray vs. NSSet
- Subject: Re: NSArray vs. NSSet
- From: Andy Armstrong <email@hidden>
- Date: Thu, 10 Mar 2005 19:50:27 +0000
On 10 Mar 2005, at 19:29, Mike R. Manzano wrote:
Anyone know if NSSets are faster than NSArrays? Why wouldn't I always
just use an NSArray?
Well they're different things - one is not just a more efficient
version of the other. Normally you'd tend to use the one that's the
right fit for your problem and assume that they're well enough
implemented that performance isn't going to be too much of an issue.
--
Andy Armstrong, hexten.net
_______________________________________________
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