ComponentSource only support 128 components because ArchetypeWriter use u128 to store claimed.
Open
- Dominant language
- Rust
- Stars
- 1.7k
- Forks
- 140
- PR merge metrics
- No merged PRs in 30d
Description
```rust
pub struct ArchetypeWriter<'a> {
arch_index: ArchetypeIndex,
archetype: &'a mut Archetype,
components: MultiMut<'a>,
claimed: u128,
initial_count: usize,
}
```
ArchetypeWriter only counts at most 128 components, but this limit does not exist if using entry.add_component.
Could clamied be extended to a slice or something else?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.