co_ecs 0.9.0
Cobalt ECS
Loading...
Searching...
No Matches
hash_table.hpp File Reference
#include <cassert>
#include <memory>
#include <stdexcept>
#include <vector>
#include <co_ecs/detail/bits.hpp>

Go to the source code of this file.

Namespaces

namespace  co_ecs
 
namespace  co_ecs::detail
 

Functions

constexpr auto co_ecs::detail::approx_85_percent (auto value) noexcept -> decltype(auto)
 Approximately calculate 85% of passed value. 85% is used as a reserve threshold.
 
constexpr auto co_ecs::detail::approx_40_percent (auto value) noexcept -> decltype(auto)
 Approximately calculate 40% of passed value. 40% is used as a reserve threshold.