[#bsl-unordered_map-02b-load_factor]
= xref:bsl.adoc[bsl]::xref:bsl/unordered_map-02b.adoc[unordered&lowbar;map]::load&lowbar;factor
:relfileprefix: ../../
:mrdocs:

Return the current load factor of this unordered map&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;unorderedmap&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
float
load&lowbar;factor() const noexcept;
----

== Description

Return the current ratio between the `size` of this unordered map and the number of buckets&period; 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&period;

== Return Value

ratio of size to bucket count


[.small]#Created with https://www.mrdocs.com[MrDocs]#
