<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/librustc_data_structures/work_queue.rs, branch 1.44.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.44.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.44.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-12-22T22:42:47+00:00</updated>
<entry>
<title>Format the world</title>
<updated>2019-12-22T22:42:47+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2019-12-22T22:42:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a06baa56b95674fc626b3c3fd680d6a65357fe60'/>
<id>urn:sha1:a06baa56b95674fc626b3c3fd680d6a65357fe60</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove indexed_vec re-export from rustc_data_structures</title>
<updated>2019-09-29T16:48:31+00:00</updated>
<author>
<name>csmoe</name>
<email>csmoe@msn.com</email>
</author>
<published>2019-09-26T05:38:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=64f61c7888c9cb2cbd7d37f87a6cbec2858ee409'/>
<id>urn:sha1:64f61c7888c9cb2cbd7d37f87a6cbec2858ee409</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove bit_set re-export from rustc_data_structures</title>
<updated>2019-09-29T16:11:30+00:00</updated>
<author>
<name>csmoe</name>
<email>csmoe@msn.com</email>
</author>
<published>2019-09-26T05:30:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d20183dbbff4b59da48aedf28e1eb38f55681b58'/>
<id>urn:sha1:d20183dbbff4b59da48aedf28e1eb38f55681b58</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc: doc comments</title>
<updated>2019-02-10T23:42:32+00:00</updated>
<author>
<name>Alexander Regueiro</name>
<email>alexreg@me.com</email>
</author>
<published>2019-02-08T13:53:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c3e182cf43aea2c010a1915eb37293a458df2228'/>
<id>urn:sha1:c3e182cf43aea2c010a1915eb37293a458df2228</id>
<content type='text'>
</content>
</entry>
<entry>
<title>librustc_data_structures =&gt; 2018</title>
<updated>2019-02-08T16:36:22+00:00</updated>
<author>
<name>Taiki Endo</name>
<email>te316e89@gmail.com</email>
</author>
<published>2019-02-08T16:36:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3e2b5a4b08d9647f7438f4e945d4c8b37c36a58c'/>
<id>urn:sha1:3e2b5a4b08d9647f7438f4e945d4c8b37c36a58c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove licenses</title>
<updated>2018-12-26T04:08:33+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2018-12-25T15:56:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2a663555ddf36f6b041445894a8c175cd1bc718c'/>
<id>urn:sha1:2a663555ddf36f6b041445894a8c175cd1bc718c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Correct doc for WorkQueue&lt;T&gt;::pop().</title>
<updated>2018-09-29T22:24:37+00:00</updated>
<author>
<name>Niek Sanders</name>
<email>niek.sanders@gmail.com</email>
</author>
<published>2018-09-29T22:24:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=af9eb4fc21bfeb7317446581194b659df2e73fa5'/>
<id>urn:sha1:af9eb4fc21bfeb7317446581194b659df2e73fa5</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>Remove IdxSet typedef and Rename {,Hybrid}IdxSetBuf as {,Hybrid}IdxSet.</title>
<updated>2018-08-20T04:00:51+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>nnethercote@mozilla.com</email>
</author>
<published>2018-08-17T04:51:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e7e9f2e6997ae12573cf4726935f232bf13fb40b'/>
<id>urn:sha1:e7e9f2e6997ae12573cf4726935f232bf13fb40b</id>
<content type='text'>
Now that the `Buf` vs. non-`Buf` distinction has been removed, it makes
sense to drop the `Buf` suffix and use the shorter names everywhere.
</content>
</entry>
<entry>
<title>create a new `WorkQueue` data structure</title>
<updated>2018-07-01T09:22:50+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2018-06-29T10:38:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=388ff03248f15b6266f8614e1a3f10e28fcbb1e3'/>
<id>urn:sha1:388ff03248f15b6266f8614e1a3f10e28fcbb1e3</id>
<content type='text'>
</content>
</entry>
</feed>
