bevy/crates/bevy_ecs
Mat Hostetter 871790c6e0
Adjust how ArchetypeAccess tracks mutable & immutable deps (#660)
`ArchetypeAccess` was tracking `immutable` and `mutable` separately.
This means that checking is_compatible requires three checks:
m+m, m+i, i+m.

Instead, continue tracking `mutable` accesses, but instead of
`immutable` track `immutable | mutable` as another `accessed` bit mask.
This drops the comparisons to two (m+a, a+m) and turns out to be
what the rest of the code base wants too, unifying various duplicated
checks and loops.
2020-10-15 13:39:01 -07:00
..
hecs add thread local resources (#671) 2020-10-12 15:09:44 -07:00
src Adjust how ArchetypeAccess tracks mutable & immutable deps (#660) 2020-10-15 13:39:01 -07:00
Cargo.toml release: 0.2.1 (#533) 2020-09-20 15:58:32 -07:00