-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
A-ECSEntities, components, systems, and eventsEntities, components, systems, and eventsC-FeatureA new feature, making something new possibleA new feature, making something new possibleC-PerformanceA change motivated by improving speed, memory usage or compile timesA change motivated by improving speed, memory usage or compile times
Description
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.
Here's the CTO of Unity describing their approach:
https://forum.unity.com/threads/dots-skill-system-repo-available.894007/#post-5875804
I imagine something like this could be useful for Bevy.
vultix, Fishrock123, awulkan, PixelDust22, qthree and 8 more
Metadata
Metadata
Assignees
Labels
A-ECSEntities, components, systems, and eventsEntities, components, systems, and eventsC-FeatureA new feature, making something new possibleA new feature, making something new possibleC-PerformanceA change motivated by improving speed, memory usage or compile timesA change motivated by improving speed, memory usage or compile times