-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Make erase_regions_ty no_hash and remove support for anon queries #59968
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
Conversation
@bors try |
Make erase_regions_ty no_hash and remove support for anon queries r? @michaelwoerister
☀️ Try build successful - checks-travis |
@rust-timer build 599cd5e |
Success: Queued 599cd5e with parent d70c5a9, comparison URL. |
ping from triage @michaelwoerister waiting for your review on this |
Finished benchmarking try commit 599cd5e |
Trait selection still needs anonymous dep-nodes. I'd love to get rid of anonymous queries but it might be blocked on Chalk integration (or at least doing something similar). cc @rust-lang/wg-traits I'd be interested in the results of making |
Yeah that is why I kept that and explicitly said anonymous queries. Is there any particular reason we hash the dependencies of anon nodes instead of just storing them directly? I may be looking to change that, though I'd prefer no anon nodes. Would it be possible for trait selection to use a regular dep node by hashing the input or something like that? |
Given that |
It would be really helpful if you provided descriptions for your PRs. Some background information, the motivation for doing the change, things of note that are easily overlooked, potentially contentious consequences of the change, etc.
Hm, that's a rather subtle side-effect of how try-mark-green works but I guess it's even correct I'm not sure what to make of the performance results. Except for
What do you mean exactly?
I don't remember the exact reasons, @nikomatsakis took care of trait selection dep-tracking. Something in the way the caching for trait selection works made anon nodes necessary. |
I forgot to include the fix from the other PR. Let's see if the servo regression goes away with that. @bors try |
Make erase_regions_ty no_hash and remove support for anon queries r? @michaelwoerister
I guess we already store the dependencies already. Maybe I was thinking of some scheme were we generate an unique dep node based on the dependencies ( |
⌛ Trying commit cc7b4c2 with merge bf680dd88be9b5d89e7a6d8969d053981fa9196b... |
💔 Test failed - checks-travis |
@bors try |
@bors retry |
Make erase_regions_ty no_hash and remove support for anon queries r? @michaelwoerister
☀️ Try build successful - checks-travis |
@rust-timer build 7b167f5 |
Success: Queued 7b167f5 with parent 07133ac, comparison URL. |
Finished benchmarking try commit 7b167f5 |
Performance numbers look like a slight regression. Since we are in no rush to remove anonymous queries, I suggest we wait for a solution along the lines of #59505. |
r? @michaelwoerister