-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
optimize redundant borrows and escaping paths in NLL #53177
optimize redundant borrows and escaping paths in NLL #53177
Conversation
In particular, we skip computing liveness for a variable X if all the regions in its type are known to outlive free regions.
r? @eddyb (rust_highfive has picked a reviewer for you, use r? to override) |
7204297
to
31fe3df
Compare
@bors try |
⌛ Trying commit 31fe3df6543566f5671da4d78b381b9d59f2d096 with merge a7a1e7a9bda496d4f9f0fbd27d7cd126b18e8047... |
☀️ Test successful - status-travis |
@rust-timer build a7a1e7a9bda496d4f9f0fbd27d7cd126b18e8047 |
Success: Queued a7a1e7a9bda496d4f9f0fbd27d7cd126b18e8047 with parent ccb550f, comparison URL. |
Perf is ready. |
*Clicks link* |
So yeah, seems like a win. =) |
So I pushed a comment that sort of convinces me that this logic is correct. |
Removing |
r? @pnkfelix |
…g-values, r=pnkfelix optimize redundant borrows and escaping paths in NLL This builds on #53168 and adds a commit that addresses #53176 -- or at least I think it does. I marked this as WIP because I want to see the test results (and measure the performance). I also want to double check we're not adding in any unsoundness here.
💔 Test failed - status-travis |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
⌛ Testing commit ff7f6d5 with merge 19739a77689d041e02ef7b19be5730425676a165... |
💔 Test failed - status-travis |
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
…g-values, r=pnkfelix optimize redundant borrows and escaping paths in NLL This builds on #53168 and adds a commit that addresses #53176 -- or at least I think it does. I marked this as WIP because I want to see the test results (and measure the performance). I also want to double check we're not adding in any unsoundness here.
☀️ Test successful - status-appveyor, status-travis |
This builds on #53168 and adds a commit that addresses #53176 -- or at least I think it does. I marked this as WIP because I want to see the test results (and measure the performance). I also want to double check we're not adding in any unsoundness here.