Consider specializing to a BitSet in ComponentStore #1
Labels
C-ecstasy
Component: Ecstasy (ECS Library)
S-blocked-rust
Status: Blocked on Rust Language Changes
T-perf
Type: Performance Improvement
When a sufficiently large number of entities exist, it's thoroughly plausible that time savings would be had by storing sparse flag-like components in bitsets, since skipping the large number of zeroes would be cheap.
This might require specialization (but isn't easily doable there), or possibly negative trait bounds (to have a different FlagLike vs !FlagLike API).
The text was updated successfully, but these errors were encountered: