<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/librustc_codegen_llvm/debuginfo/create_scope_map.rs, branch 1.31.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.31.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.31.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2018-10-09T13:15:41+00:00</updated>
<entry>
<title>codegen_llvm/misc: improve common patterns</title>
<updated>2018-10-09T13:15:41+00:00</updated>
<author>
<name>ljedrz</name>
<email>ljedrz@gmail.com</email>
</author>
<published>2018-10-09T13:15:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b07a2d02cac099de28f00cc6422154d41c870eac'/>
<id>urn:sha1:b07a2d02cac099de28f00cc6422154d41c870eac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge indexed_set.rs into bitvec.rs, and rename it bit_set.rs.</title>
<updated>2018-09-17T21:08:09+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>nnethercote@mozilla.com</email>
</author>
<published>2018-09-14T05:07:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=266e2d3d69f61692a4080ff345d05c49d9f3c855'/>
<id>urn:sha1:266e2d3d69f61692a4080ff345d05c49d9f3c855</id>
<content type='text'>
Currently we have two files implementing bitsets (and 2D bit matrices).
This commit combines them into one, taking the best features from each.

This involves renaming a lot of things. The high level changes are as
follows.
- bitvec.rs              --&gt; bit_set.rs
- indexed_set.rs         --&gt; (removed)
- BitArray + IdxSet      --&gt; BitSet (merged, see below)
- BitVector              --&gt; GrowableBitSet
- {,Sparse,Hybrid}IdxSet --&gt; {,Sparse,Hybrid}BitSet
- BitMatrix              --&gt; BitMatrix
- SparseBitMatrix        --&gt; SparseBitMatrix

The changes within the bitset types themselves are as follows.

```
OLD             OLD             NEW
BitArray&lt;C&gt;     IdxSet&lt;T&gt;       BitSet&lt;T&gt;
--------        ------          ------
grow            -               grow
new             -               (remove)
new_empty       new_empty       new_empty
new_filled      new_filled      new_filled
-               to_hybrid       to_hybrid
clear           clear           clear
set_up_to       set_up_to       set_up_to
clear_above     -               clear_above
count           -               count
contains(T)     contains(&amp;T)    contains(T)
contains_all    -               superset
is_empty        -               is_empty
insert(T)       add(&amp;T)         insert(T)
insert_all      -               insert_all()
remove(T)       remove(&amp;T)      remove(T)
words           words           words
words_mut       words_mut       words_mut
-               overwrite       overwrite
merge           union           union
-               subtract        subtract
-               intersect       intersect
iter            iter            iter
```

In general, when choosing names I went with:
- names that are more obvious (e.g. `BitSet` over `IdxSet`).
- names that are more like the Rust libraries (e.g. `T` over `C`,
  `insert` over `add`);
- names that are more set-like (e.g. `union` over `merge`, `superset`
  over `contains_all`, `domain_size` over `num_bits`).

Also, using `T` for index arguments seems more sensible than `&amp;T` --
even though the latter is standard in Rust collection types -- because
indices are always copyable. It also results in fewer `&amp;` and `*`
sigils in practice.
</content>
</entry>
<entry>
<title>Split out growth functionality into BitVector type</title>
<updated>2018-08-01T12:50:40+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2018-07-30T14:58:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9bc4fbb10a1517c2ac5a4c9b0ae3ac6559c90a0d'/>
<id>urn:sha1:9bc4fbb10a1517c2ac5a4c9b0ae3ac6559c90a0d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc_codegen_llvm: fix tidy errors.</title>
<updated>2018-07-30T17:35:08+00:00</updated>
<author>
<name>Irina Popa</name>
<email>irinagpopa@gmail.com</email>
</author>
<published>2018-07-17T15:26:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=265f2fa4de8fee5ad2e2c21904e51622de2aec24'/>
<id>urn:sha1:265f2fa4de8fee5ad2e2c21904e51622de2aec24</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc_codegen_llvm: use safe references for Metadata and DI*.</title>
<updated>2018-07-30T16:27:13+00:00</updated>
<author>
<name>Irina Popa</name>
<email>irinagpopa@gmail.com</email>
</author>
<published>2018-07-04T13:36:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=eed48f560fa44e60cec89df894018dc4599730d0'/>
<id>urn:sha1:eed48f560fa44e60cec89df894018dc4599730d0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc_codegen_llvm: move from empty enums to extern types.</title>
<updated>2018-07-30T15:12:47+00:00</updated>
<author>
<name>Irina Popa</name>
<email>irinagpopa@gmail.com</email>
</author>
<published>2018-06-27T10:12:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=af04e9426c71ac1050b9007c93b03864e45a81df'/>
<id>urn:sha1:af04e9426c71ac1050b9007c93b03864e45a81df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>parameterize `BitVector` and `BitMatrix` by their index types</title>
<updated>2018-07-25T03:38:19+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2018-07-22T16:23:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=145155dc96757002c7b2e9de8489416e2fdbbd57'/>
<id>urn:sha1:145155dc96757002c7b2e9de8489416e2fdbbd57</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc: turn mir::LocalDecl's visibility_source_info into a SourceScope.</title>
<updated>2018-05-30T17:30:10+00:00</updated>
<author>
<name>Eduard-Mihai Burtescu</name>
<email>edy.burt@gmail.com</email>
</author>
<published>2018-05-29T10:55:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6c5397247856d49d89712f9d0c208c1981e9b72d'/>
<id>urn:sha1:6c5397247856d49d89712f9d0c208c1981e9b72d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc: rename mir::LocalDecl's source_info to visibility_source_info.</title>
<updated>2018-05-30T17:30:10+00:00</updated>
<author>
<name>Eduard-Mihai Burtescu</name>
<email>edy.burt@gmail.com</email>
</author>
<published>2018-05-29T14:37:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0895590c53919bb235771947ae395ab0d1751b4d'/>
<id>urn:sha1:0895590c53919bb235771947ae395ab0d1751b4d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc: rename mir::VisibilityScope to mir::SourceScope.</title>
<updated>2018-05-30T17:30:09+00:00</updated>
<author>
<name>Eduard-Mihai Burtescu</name>
<email>edy.burt@gmail.com</email>
</author>
<published>2018-05-28T11:16:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=85d44c42764fb87e1f581fa6206727e82cd7d52d'/>
<id>urn:sha1:85d44c42764fb87e1f581fa6206727e82cd7d52d</id>
<content type='text'>
</content>
</entry>
</feed>
