• 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: Searching dictionaries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Searching dictionaries


  • Subject: Re: Searching dictionaries
  • From: "Alastair J.Houghton" <email@hidden>
  • Date: Sat, 11 Oct 2003 11:15:30 +0100

On Saturday, October 11, 2003, at 08:42 am, Alastair J.Houghton wrote:

Note that for large dictionaries, that last example isn't very efficient (it copies all of the keys at least twice) and you might be better using an explicit tree implementation.

I just realised that someone might read what I just wrote literally and assume that it actually "-copy"s the keys; just to be clear, it doesn't, it just copies the pointers to the keys, but that's still inefficient for large dictionaries.

Alastair.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Searching dictionaries (From: "Alastair J.Houghton" <email@hidden>)

  • Prev by Date: Re: Searching dictionaries
  • Next by Date: Re: NSTimer - crash when closing window
  • Previous by thread: Re: Searching dictionaries
  • Next by thread: Re: Searching dictionaries
  • Index(es):
    • Date
    • Thread