-
|
Hello everyone :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 19 replies
-
|
You mean that maps are slower than queries? That's natural and there is no way around it. You could query for 8, use However, without knowing your code, the fact that you need to query so many components suggest that you should probably rethink your components and/or systems. |
Beta Was this translation helpful? Give feedback.
Because requiring a query over more than 8 components tends to indicate a flawed design, while creating an enitity with many components does not.
Are you sure that you still filter for the same number of entities? I.e., do you have the excess components in the filter's
With? BecauseMap1should be slower thanFilter1, but not 2x slower thanFilter8.https://mlange-42.github.io/ark/benchmarks/#world-access