On Jan 6, 2011, at 1:17 PM, Jon Sigman wrote:

> Okay, I'm thoroughly confused now. What exactly is this hash value? The 
> documentation just says its "an integer that can be used as a table address 
> in a 
> hash table structure." That doesn't mean much to me. 


I would recommend that you read up on Hash Tables if you want all the glory 
details on what a hash value is.

The short of it is that its a value that allows you to quickly tell if 
something is worth looking at more closely for equality. As a real world 
example a hash code is equivalent to saying "this object is short, this object 
is tall" without breaking out a ruler to determine if they are the same length.
--
David Duncan

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to