Re: NSMutableDictionary Look Up
Re: NSMutableDictionary Look Up
- Subject: Re: NSMutableDictionary Look Up
- From: Dave <email@hidden>
- Date: Sun, 24 May 2015 12:01:05 +0100
> On 23 May 2015, at 19:05, Britt Durbrow <email@hidden> 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 (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