libbmq
a5f8a06ba1d16cb5a65643e1fa7f1a1d6aadef40
|
#include <bmqt_messageguid.h>
Public Types | |
typedef bsls::Types::Uint64 | result_type |
Public Member Functions | |
MessageGUIDHashAlgo () | |
Constructor. More... | |
void | operator() (const void *data, size_t numBytes) |
result_type | computeHash () |
Compute and return the hash for the GUID. More... | |
This class provides a hashing algorithm for bmqt::MessageGUID
. At the time of writing, this algorithm was found to be approximately 4x faster than the default hashing algorithm that comes with bslh
package. Performance-critical applications may want to use this hashing algorithm instead of the default one.
typedef bsls::Types::Uint64 BloombergLP::bmqt::MessageGUIDHashAlgo::result_type |
|
inline |
|
inline |
Return the "mxm" bit mix on the specified x
.
Return the hash combination of the specified lhs
and rhs
.
References BloombergLP::bmqt::MessageGUID::e_SIZE_BINARY.
|
inline |