Re: Fast hash of NSData?
Re: Fast hash of NSData?
- Subject: Re: Fast hash of NSData?
- From: Scott Ribe <email@hidden>
- Date: Mon, 02 Dec 2013 08:11:40 -0700
On Dec 2, 2013, at 7:36 AM, ChanMaxthon <email@hidden> wrote:
> How about this: treat the data as an array of 64-bit integers (zero-padded) and XOR them together? That will be really fast and you will be able to asm-optimize it.
That's an absolutely horrible hash, and it would be no faster than a good hash.
--
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