RobustToolbox
RobustToolbox copied to clipboard
EntityLookup Entity<T> is very slow
trafficstars
So what the component queries did is check if the component count was low enough, and if so it just iterated the components directly.
The Entity<T> version just iterates every entity in range which in some use-cases is bad.
Additionally, the local entities path goes up and down transforms when you could cut this out.