On 12/03/2011, at 1:33 PM, Stevo Brock wrote: > Unless I'm missing something, if you have aWord1 = @"the" and aWord2 = > @"the", they will both get added to the array/set.
NSSet will only store one "the" - it automatically disallows duplicates. It uses hashing internally so should be as fast as NSDictionary for retrieval. --Graham _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
