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

Add ability to gc builder cache #46

Merged
merged 1 commit into from
Jun 18, 2020
Merged

Add ability to gc builder cache #46

merged 1 commit into from
Jun 18, 2020

Conversation

CAD97
Copy link
Owner

@CAD97 CAD97 commented Jun 17, 2020

Draft while blocked on rust-lang/hashbrown#163

Also likely useful along these lines: a preload function that takes an ArcBorrow<'_, Node> and preloads the cache with the node and any transitive children.

drain_filter is annoying -- what's the polarity of the filter? -- so this definitely needs a test to make sure it's keeping the correct elements.

@codecov
Copy link

codecov bot commented Jun 17, 2020

Codecov Report

Merging #46 into master will decrease coverage by 0.12%.
The diff coverage is 73.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #46      +/-   ##
==========================================
- Coverage   78.07%   77.95%   -0.13%     
==========================================
  Files           8        8              
  Lines         561      576      +15     
==========================================
+ Hits          438      449      +11     
- Misses        123      127       +4     
Impacted Files Coverage Δ
src/green/builder.rs 62.18% <73.33%> (+1.60%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 18551af...afb98b8. Read the comment docs.

@CAD97
Copy link
Owner Author

CAD97 commented Jun 17, 2020

.... why is the actions not triggering?

@CAD97 CAD97 marked this pull request as ready for review June 18, 2020 18:44
@CAD97
Copy link
Owner Author

CAD97 commented Jun 18, 2020

Probably because there was a conflict that GitHub didn't tell me about because of the PR's draft status.

@CAD97
Copy link
Owner Author

CAD97 commented Jun 18, 2020

bors: r+

@bors
Copy link
Contributor

bors bot commented Jun 18, 2020

Build succeeded:

@bors bors bot merged commit aa056fd into master Jun 18, 2020
@bors bors bot deleted the cache-gc branch June 18, 2020 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant