bsl::unordered_map::load_factor

Return the current ratio between the size of this unordered map and the number of buckets. The load factor is a measure of how full the container is, and a higher load factor typically leads to an increased number of collisions, thus resulting in a loss of performance.

Synopsis

Declared in <bslstl_unorderedmap.h>

float
load_factor() const noexcept;