• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSMutableDictionary Look Up
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSMutableDictionary Look Up
      • From: Britt Durbrow <email@hidden>
References: 
 >NSMutableDictionary Look Up (From: Dave <email@hidden>)
 >Re: NSMutableDictionary Look Up (From: Britt Durbrow <email@hidden>)

  • Prev by Date: Re: What is overwriting 'isa' with 0xbaddc0dedeadbead ?
  • Next by Date: NSTreeController/Outline View Problem
  • Previous by thread: Re: NSMutableDictionary Look Up
  • Next by thread: Re: NSMutableDictionary Look Up
  • Index(es):
    • Date
    • Thread