Skip to content

Conversation

arielb1
Copy link
Contributor

@arielb1 arielb1 commented Jun 19, 2017

I could have made representability a cached query, but that would have
been added complexity for not much benefit - outside of the exponential
worst-case, this pass is fast enough already.

Fixes #42747.

r? @eddyb

I could have made representability a cached query, but that would have
been added complexity for not much benefit - outside of the exponential
worst-case, this pass is fast enough already.

Fixes rust-lang#42747.
@eddyb
Copy link
Member

eddyb commented Jun 19, 2017

@bors r+

@bors
Copy link
Collaborator

bors commented Jun 19, 2017

📌 Commit ae8545b has been approved by eddyb

@arielb1 arielb1 added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Jun 20, 2017
@bors
Copy link
Collaborator

bors commented Jun 21, 2017

⌛ Testing commit ae8545b with merge 39220a9...

bors added a commit that referenced this pull request Jun 21, 2017
Memoize types in `is_representable` to avoid exponential worst-case

I could have made representability a cached query, but that would have
been added complexity for not much benefit - outside of the exponential
worst-case, this pass is fast enough already.

Fixes #42747.

r? @eddyb
@bors
Copy link
Collaborator

bors commented Jun 21, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: eddyb
Pushing 39220a9 to master...

@bors bors merged commit ae8545b into rust-lang:master Jun 21, 2017
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.

3 participants