Luna::UnorderedSet::load_factor

f32 load_factor() const

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

Return value

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