Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EntityLookup Entity<T> is very slow #5363

Open
metalgearsloth opened this issue Aug 16, 2024 · 0 comments
Open

EntityLookup Entity<T> is very slow #5363

metalgearsloth opened this issue Aug 16, 2024 · 0 comments

Comments

@metalgearsloth
Copy link
Contributor

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 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant