Re: Fast hash of NSData?
Re: Fast hash of NSData?
- Subject: Re: Fast hash of NSData?
- From: Scott Ribe <email@hidden>
- Date: Sun, 01 Dec 2013 11:53:10 -0700
On Dec 1, 2013, at 11:43 AM, Quincey Morris <email@hidden> wrote:
> I doubt I can talk you out of it, but the truth is that you — like every one of the rest of us, because we’ve got human brains — are really, really lousy at intuiting about randomness and probabilities. What we *think* isn’t worth the paper our emails are printed on.
This is not about intuition--at least not in the way you think. Hard mathematical analysis of the properties of hashes supports the hash approach. Intuition argues against it, because of the exact reason you mentioned ;-)
Now, granted there's an argument for an alternative approach that does not require hashing, and that's fine. But there are certainly other cases where a hash would be what is needed, and our "monkey-brain" reaction against it would be counter-productive, which is why I'm still flogging this...
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice
_______________________________________________
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