kgorking / ecs

A header-only/importable c++20 implementation of an entity-component-system (ecs), with focus on a simple interface and speed.
MIT License
66 stars 3 forks source link

Rework component_pool chunk storage #219

Open kgorking opened 1 year ago

kgorking commented 1 year ago

Use something like a sparse_set to manage the chunk storage. Keep them ordered, without the need to move them around too much (swap-from-last erases ok).

kgorking commented 7 months ago

Reason:

References:

Plan:

kgorking commented 7 months ago

Well nuts to that. Wrote an allocator instead.