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

perf: Shrink Table by Boxing the colliders and emptied_collider_slots in PointerMap #2083

Open
Centril opened this issue Jan 3, 2025 · 0 comments

Comments

@Centril
Copy link
Contributor

Centril commented Jan 3, 2025

This shaves off 40 bytes from PointerMap and in turn from Table.
Boxing here is not a problem as collisions are rare.

The perf impact of this hasn't been measured, but large types in general impose memcpys instead of using registers.
We should fix this once the more glaring issues have been resolved.

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