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

Swap to using size_t as an id type #92

Merged
merged 2 commits into from
Sep 25, 2023
Merged

Conversation

TrentHouliston
Copy link
Member

uint64_t is larger than is necessary on a system for IDs most of the time.
On 32-bit systems, it also causes problems due to uint64_t having alignment requirements.
Swaps to using size_t for the ID which should serve the purposes of being fast and appropriately sized for the system.

@TrentHouliston TrentHouliston enabled auto-merge (squash) September 25, 2023 04:16
@TrentHouliston TrentHouliston merged commit 6480a09 into main Sep 25, 2023
15 checks passed
@TrentHouliston TrentHouliston deleted the houliston/id_type branch September 25, 2023 05:43
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

Successfully merging this pull request may close these issues.

1 participant