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

Adjust how ArchetypeAccess tracks mutable & immutable deps #660

Merged
merged 1 commit into from
Oct 15, 2020

Commits on Oct 11, 2020

  1. Adjust how ArchetypeAccess tracks mutable & immutable deps

    `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.
    mjhostet committed Oct 11, 2020
    Configuration menu
    Copy the full SHA
    548f9ce View commit details
    Browse the repository at this point in the history