-
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
HybridIdxSet
tweaks
#53656
HybridIdxSet
tweaks
#53656
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. r=me once travis is happy and post rebase.
src/librustc_mir/dataflow/mod.rs
Outdated
/// For each block, bits valid on entry to the block. | ||
on_entry_sets: Bits<E>, | ||
on_entry_sets: Vec<IdxSetBuf<E>>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
didn't I already review this? Am I just getting confused...
fn new(init: Word, universe_size: usize) -> Self { | ||
let num_words = (universe_size + (BITS_PER_WORD - 1)) / BITS_PER_WORD; | ||
fn new(init: Word, domain_size: usize) -> Self { | ||
let num_words = (domain_size + (BITS_PER_WORD - 1)) / BITS_PER_WORD; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but this looks new
@bors r=nnethercote |
📌 Commit f52c0b93e45def9e5c5010f3d90a9156afac4110 has been approved by |
@bors r- |
@bors delegate=nnethercote |
✌️ @nnethercote can now approve this pull request |
Oh, I mismanaged this branch... the first three commits already landed in #53520. It's just the last two commits that are new. Sorry for the confusion. |
Because `domain` is a more obvious term than `universe` for this concept.
They let `union()`, `union_sparse()` and `union_hybrid()` be merged. Likewise for subtract()`, `subtract_sparse()` and `subtract_hybrid()`.
f52c0b9
to
626b298
Compare
@bors r=nikomatsakis |
📌 Commit 626b298 has been approved by |
`HybridIdxSet` tweaks A couple of tweaks to `HybridIdxSet`. r? @nikomatsakis
☀️ Test successful - status-appveyor, status-travis |
A couple of tweaks to
HybridIdxSet
.r? @nikomatsakis