region_infer: BitMatrix representation of region values#16
Merged
nikomatsakis merged 1 commit intonikomatsakis:nll-masterfrom Nov 22, 2017
Merged
Conversation
nikomatsakis
requested changes
Nov 22, 2017
Owner
nikomatsakis
left a comment
There was a problem hiding this comment.
This looks good to me! I left a few nits. I'll merge tomorrow -- if you don't get around to fixing the nits by then, I'll just do it myself as I merge I think.
Owner
There was a problem hiding this comment.
I think take_while would be better -- it would stop the loop sooner
Owner
There was a problem hiding this comment.
I think take_while would be more efficient
Owner
There was a problem hiding this comment.
It'd be nice to expand this comment to explain that the first N indices are the free regions -- or at least comment on that somewhere.
Owner
|
Thanks @zackmdavis =) |
17dd78c to
879feae
Compare
Author
|
(force-push 879feae for |
1eadbfd to
077c2a8
Compare
This should be more efficient than allocating two BTreeSets for every region variable?—as it is written in rust-lang#45670.
879feae to
466e135
Compare
Owner
|
Warning: rebased! |
Owner
|
And merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@nikomatsakis
This should be more efficient than allocating two BTreeSets for every region variable?—as it is written in rust-lang#45670.
This isn't addressing the question of auxillary methods for
BitMatrix. I'm also not immediately sure what kind of testing is appropriate.