We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The new version is 30% faster than the original.
public ref T Get<T>(Entity entity) { ref var slots = ref EntityInfo.EntitySlots[entity.Id]; ref var slot = ref slots.Slot; return ref slots.Archetype.Chunks[slot.ChunkIndex].GetArray<T>()[slot.Index]; }
The text was updated successfully, but these errors were encountered:
Unity2022.3.20f1
Sorry, something went wrong.
Can you create an official benchmark in arch to verify this for the repo?
Sorry. My bad. This difference only exists in Unity, they are not different in the benchmark.
No branches or pull requests
The new version is 30% faster than the original.
The text was updated successfully, but these errors were encountered: