-
Notifications
You must be signed in to change notification settings - Fork 181
Consider migrating to a lightweight ECS framework #130
Copy link
Copy link
Closed
Labels
controversialThis work requires a heightened standard of review due to implementation or design complexityThis work requires a heightened standard of review due to implementation or design complexityperformanceLayout go brrLayout go brr
Description
The code in Forest is effectively a very poorly optimized ECS, attempting to store tabular structs-of-arrays. We should consider just using an ECS framework and seeing what sort of performance gains we can get.
In particular, the data storage is extremely suboptimal, with relatively large "components" being accessed constantly when only a single field is needed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
controversialThis work requires a heightened standard of review due to implementation or design complexityThis work requires a heightened standard of review due to implementation or design complexityperformanceLayout go brrLayout go brr