Skip to content

Switch default index type from size_t to uint32_t#782

Merged
FakeByte merged 1 commit into
masterfrom
deterministic-index
Jul 7, 2026
Merged

Switch default index type from size_t to uint32_t#782
FakeByte merged 1 commit into
masterfrom
deterministic-index

Conversation

@FakeByte

@FakeByte FakeByte commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

When we migrate to the ECS we cant use pointers in components anymore, instead we need to rely on an index to a defenition.
Size_t can be different sizes on different platforms and is not deterministic and cant be used.
This PR changes the default backing type for an index to uint32_t

@FakeByte FakeByte requested a review from a team as a code owner July 7, 2026 07:12
@FakeByte FakeByte requested a review from Spartan322 July 7, 2026 07:12
@Spartan322 Spartan322 added enhancement New feature or request topic:core labels Jul 7, 2026
@FakeByte FakeByte enabled auto-merge July 7, 2026 07:23
@FakeByte FakeByte added this pull request to the merge queue Jul 7, 2026
Merged via the queue into master with commit 6b0bf1a Jul 7, 2026
9 checks passed
@FakeByte FakeByte deleted the deterministic-index branch July 7, 2026 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request topic:core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants