Return the current size divided by the number of buckets.

Synopsis

Declared in <bdlcc_stripedunorderedcontainerimpl.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.

Return Value

the current size divided by the number of buckets

Created with MrDocs