Re: iPhone: validate a NSString for US zipcode
Re: iPhone: validate a NSString for US zipcode
- Subject: Re: iPhone: validate a NSString for US zipcode
- From: Dave DeLong <email@hidden>
- Date: Thu, 07 Jan 2010 14:52:48 -0700
That's backwards. NSArray is ordered; NSSet is not.
Dave
On Jan 7, 2010, at 2:44 PM, David Duncan wrote:
> Since NSArray is unordered I would not expect its containsObject to do better than O(n). If NSSet is an ordered container, it should be able to do O(lg n).
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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