Re: Fast hash of NSData?
Re: Fast hash of NSData?
- Subject: Re: Fast hash of NSData?
- From: Graham Cox <email@hidden>
- Date: Fri, 29 Nov 2013 23:25:41 +0100
On 29 Nov 2013, at 11:19 pm, Graham Cox <email@hidden> wrote:
> Good idea, though ideally it would only compute the actual hash lazily if it got as far as needing to (i.e. when the length matched). I’ll give it a go.
Hmm, of course that can’t be worthwhile if it’s used as a dictionary key, as it will always need to be computed. Still, it will be an improvement on what I have.
—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