Miscellaneous hashing functions, mostly from Bob Jenkins. More...
Go to the source code of this file.
Namespaces | |
Foam | |
Functions | |
unsigned | Hasher (const void *data, size_t len, unsigned seed=0) |
Miscellaneous hashing functions, mostly from Bob Jenkins.
Original source file Hasher.H
InNamespace Foam
The Jenkins hashing function(s) is similar in speed to Paul Hsieh's SuperFast hash, but is public domain, supports incremental hashing and has been reported to have better characteristics. It is also what postgresql seems to be using.
Definition in file Hasher.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.