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