Closed OAguinagalde closed 4 years ago
OwningGroup has the added benefit of contiguous array access for the data while non-owning groups have to go through the SparseSet to get to the data. Implementing each for a non-owning group doesnt really have any advantages so it wasnt added.
The Readme states that...
The same example using a non-owning Group:
zig complains:
After looking for it I only managed to find the method
each
forOwningGroup
s. Not that I know if there should or shouldn't be such method but just wanted to point out that the readme seems(?) wrong.