Sunday, April 4, 2010

Looking for a fast hash-function.

Programmer Question

Hello,



I'm looking for a special hash-function. Let's say I have a large list of strings, if I order them by their hash-values they should be ordered quasi randomly.



The most important point is: it must be super fast. I've tried md5 and sha1 and they're using to much cpu power.



Clashes are not a problem.



I'm using javascript, so it shouldn't be too complicated to implement.



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails