API Reference › Pool › Pool.reserved
method

Pool.reserved

Pool.reserved() -> int

Returns the high-water mark — how many entity slots have ever been allocated. It only grows when a spawn finds the freelist empty; a spawn that reuses a freed slot leaves it unchanged, so a steady-state spawn/despawn loop keeps reserved flat (the proof that slots are pooled, not reallocated).

← All symbols