|
libbmq b6028b29b733bc7541593d2905a5f79a9f0192fc
|
#include <bmqt_messageguid.h>
Public Types | |
| typedef bsls::Types::Uint64 | result_type |
Public Member Functions | |
| MessageGUIDHashAlgo () | |
| Constructor. | |
| void | operator() (const void *data, size_t numBytes) |
| result_type | computeHash () |
| Compute and return the hash for the GUID. | |
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 |