Return the current load factor of this hash map.

Synopsis

Declared in <bdlcc_stripedunorderedmap.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 load factor of this hash map

Created with MrDocs