|
|
cnt::darray< uint32_t * > | pages |
| | Lazily allocated pages keyed by archetype id >> PageBits.
|
| |
|
|
static constexpr uint32_t | PageBits = 10 |
| | Keep stamp pages small enough to avoid dense high-water-mark allocations while still preserving O(1) indexing by world-local archetype id.
|
| |
|
static constexpr uint32_t | PageSize = 1U << PageBits |
| |
|
static constexpr uint32_t | PageMask = PageSize - 1 |
| |
◆ clear()
| void gaia::ecs::ArchetypeMatchStamps::clear |
( |
| ) |
|
|
inline |
Reuse allocated pages across matcher runs. Only the stored stamp values need to be reset; freeing the pages here would put heap churn back into the hot path.
The documentation for this struct was generated from the following file: