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

Remove "visited" set from inhabitedness checking (fix perf regression) #57033

Merged
merged 1 commit into from
Dec 22, 2018

Conversation

nikic
Copy link
Contributor

@nikic nikic commented Dec 21, 2018

Now that references are no longer recursively checked, this should no longer be necessary, and it's a major performance bottleneck.

This should fix #57028.

r? @varkor

Now that references are no longer recursively checked, this should
no longer be necessary, and it's a major performance bottleneck.
@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 21, 2018
@varkor
Copy link
Member

varkor commented Dec 21, 2018

Thanks for catching this!

@bors r+

@bors
Copy link
Contributor

bors commented Dec 21, 2018

📌 Commit a8babed has been approved by varkor

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 21, 2018
@alexcrichton
Copy link
Member

@bors: p=1

fixing a pretty large perf regression

@bors
Copy link
Contributor

bors commented Dec 21, 2018

⌛ Testing commit a8babed with merge a9ff135...

bors added a commit that referenced this pull request Dec 21, 2018
Remove "visited" set from inhabitedness checking (fix perf regression)

Now that references are no longer recursively checked, this should no longer be necessary, and it's a major performance bottleneck.

This should fix #57028.

r? @varkor
@bors
Copy link
Contributor

bors commented Dec 22, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: varkor
Pushing a9ff135 to master...

@bors bors merged commit a8babed into rust-lang:master Dec 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

A perf regression between 2018-12-20 and 2018-12-21
5 participants