> On 23 May 2015, at 19:05, Britt Durbrow 
> <bdurb...@rattlesnakehillsoftworks.com> wrote:
> 
> NSDictionary, AFAIK, is based on a hash table internally; and it uses the 
> -hash method of the key objects to store the keys in the table.
> 
> What kind of key are you using for the dictionary? As long as that object’s 
> -hash method and -isEqual methods are efficient, you should be OK...
> 

The Key is an NSString, the average length of a key is around 186 characters.



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to