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
I think when I first wrote that a while back, I had a use case for the removal and replace...but I can't recall what it would have been. Sort of a forest for the trees sort of thing. This is a great suggestion, and not only does it get rid of excess objects and limit GC as you pointed out, it'll drastically simplify the ECS update flow.
Since components are just structs, you should be able to just edit them in-place, without a remove-and-add dance that invites GC in the middle...
The text was updated successfully, but these errors were encountered: