Re: Hash Values in Custom Classes
Re: Hash Values in Custom Classes
- Subject: Re: Hash Values in Custom Classes
- From: Mike Abdullah <email@hidden>
- Date: Mon, 28 Mar 2011 00:23:01 +0100
On 27 Mar 2011, at 12:17, Peter Lübke wrote:
>
>>> If not, about the only optimization from there is a NSHashTable or CFSet setup to test equality on -hash.
>>
>> Could you point me to a documentation that could help me understand NSHashTable?
>
> Badly expressed - I meant documentation / sample code about how to use an NSHashTable for such an optimization.
http://www.mikeash.com/pyblog/friday-qa-2010-05-28-leopard-collection-classes.html
I trust you have profiled your code etc. before deciding this is worth your while…_______________________________________________
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