Re: Fast hash of NSData?
Re: Fast hash of NSData?
- Subject: Re: Fast hash of NSData?
- From: ChanMaxthon <email@hidden>
- Date: Mon, 02 Dec 2013 22:36:05 +0800
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.
Sent from my iPhone
> On 2013年12月2日, at 22:27, Graham Cox <email@hidden> wrote:
>
>
>> On 2 Dec 2013, at 3:25 pm, ChanMaxthon <email@hidden> wrote:
>>
>> What is wrong with a good ol' SHA-512?
>
>
> Way too slow.
>
> ―Graham
>
>
_______________________________________________
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