Re: Searching dictionaries
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.