Luna::UnorderedMap::load_factor

f32 load_factor() const

Gets the load factor of the map, which can be computed by (f32)size() / (f32)bucket_count().

Return value

Returns the load factor of the map. Returns 0.0f if bucket_count is 0.