[erlang-questions] Ready to use hash functions in Erlang
Fri Nov 20 11:59:06 CET 2009
zabrane Mikael <> wrote:
> Hi Martin !
> > I'm interested in some fast and well distributed hash functions made by
> > > gurus in this domain like lookup3 (Bob Jenkins -
> > > http://burtleburtle.net/bob/hash/doobs.html)
> > phash2() uses Bob Jenkins' function iff you pass it a binary.
> Excellent. And do you know if it was build in pure Erlang or as a linked
> Erlang driver?
> Where can I find the source code?
It's a bif. See block_hash() in erts/emulator/beam/utils.c.
More information about the erlang-questions