you can use a custom storage type which has this property if you need to
Are you sure this is possible? Indices for different components in an archetype must be consistent, and must also be consistent with entity indices in this archetype.
you can use a custom storage type which has this property if you need to
Are you sure this is possible? Indices for different components in an archetype must be consistent, and must also be consistent with entity indices in this archetype.
no, this is not possible at the moment I think since removal uses the swap trick which doesnât preserve order âby designâ, I think that it would be possible to have a different removal policy, but since you need consistent behaviour between components as I know realize thanks to your comment, one would need to specify it at world creation and use for all components Union{Nothing, T}âŚNot sure if such a change is justified though