Versions in this module Expand all Collapse all v0 v0.24.1 Jan 26, 2022 Changes in this version type Pool + func (p Pool) All() []PoolEntity + type PoolEntity struct + func (p PoolEntity) Entity() flow.Entity + func (p PoolEntity) Id() flow.Identifier v0.24.0 Jan 19, 2022 Changes in this version + const LRUEjection + const RandomEjection + type EIndex uint32 + type EjectionMode string + type Pool struct + func NewHeroPool(sizeLimit uint32, ejectionMode EjectionMode) *Pool + func (p *Pool) Add(entityId flow.Identifier, entity flow.Entity, owner uint64) EIndex + func (p *Pool) Rem(sliceIndex EIndex) + func (p Pool) Get(entityIndex EIndex) (flow.Identifier, flow.Entity, uint64) + func (p Pool) Size() uint32