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

Trim some fat from the traversal #17741

Merged
merged 3 commits into from Jul 15, 2017
Merged

Commits on Jul 15, 2017

  1. Avoid memmoving the large smallvec in Parallel.rs.

    MozReview-Commit-ID: 7nzjMwOmszZ
    bholley committed Jul 15, 2017
  2. Move clearing of dirty descendants bit closer to the last place it's …

    …needed.
    
    In the next patch, we'll move logic to identify the children for traversal into
    preprocess_children (which will be renamed), and the set_dirty_descendants logic
    will move along with it. So left as-is, the code here will clobber the flags.
    
    MozReview-Commit-ID: 7ZskKWD4QC3
    bholley committed Jul 15, 2017
  3. Pass a callback to recalc_style_at to avoid traversing children twice.

    MozReview-Commit-ID: DIHXaVNzbFM
    bholley committed Jul 15, 2017
You can’t perform that action at this time.