Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

High performance string hashing function in Java/Scala [closed]

Looking for a high-performance String hashing functions in Java/Scala - something faster than functions from MurmurHash family, doesn't need to be cryptographically strong, only distribute well.

Any suggestions?

like image 891
Renat Bekbolatov Avatar asked Mar 12 '15 07:03

Renat Bekbolatov


1 Answers

You can find very fast hash function implementations for Java, which BTW account internal String implementation (char[] array) to maximize speed, here: https://github.com/OpenHFT/Zero-Allocation-Hashing

like image 200
leventov Avatar answered Sep 20 '22 13:09

leventov