I am searching for a fast hash algorithm. Actually, I am trying to build a hash table whose keys are URL’s. I have used MD5 to hash the URL’s, however it is too slow (I have used java’s built in function). Can anybody help me by informing about some fast hash algorithm.
Share
Java’s
Stringclass already implements.hashCode(). This is likely going to be the fastest, 32bit hash, for Java, as its heavily optimized at the core. This is also the hash in use when using the built-in collections, such asjava.util.HashMap.