BloombergLP::bdlcc::StripedUnorderedMultiMap::loadFactor

Return the current size divided by the number of buckets.

Synopsis

Declared in <bdlcc_stripedunorderedmultimap.h>

float
loadFactor() const;

Description

Note that the load factor is a measure of container "fullness"; that is, a high load factor typically implies many collisions (many elements landing in the same bucket) and that decreases performance. See {Rehash Control}.

Return Value

the current size divided by the number of buckets