You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's well known that adding/removing components is a slow operation in archetype-based ECS systems. One solution that Unity is working on for their ECS (also archetype-based) is using bit flipping to enable/disable components quickly at runtime.
Activity
alice-i-cecile commentedon Feb 17, 2021
This should be (largely) addressed with the new sparse component storage that we're targeting for 0.5 :)
alice-i-cecile commentedon Mar 7, 2021
This was added via sparse set components in #1525 :D
alice-i-cecile commentedon Mar 11, 2021
This was not added in the end, and would be very useful for fast component add / removals. Making another issue for that topic though.
The adds are computationally quick, but do not allow you to insert or remove components within a single stage.