<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_index/src/bit_set, branch 1.90.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.90.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.90.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-06-03T22:47:12+00:00</updated>
<entry>
<title>index: add method for checking range on DenseBitSet</title>
<updated>2025-06-03T22:47:12+00:00</updated>
<author>
<name>Nia Espera</name>
<email>a5b6@riseup.net</email>
</author>
<published>2025-05-31T08:13:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a0c19ee577542cbc9dbdead54c91e661aa6396de'/>
<id>urn:sha1:a0c19ee577542cbc9dbdead54c91e661aa6396de</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rustfmt</title>
<updated>2025-02-08T22:12:13+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-02-08T22:12:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1fcae03369abb4c2cc180cd5a49e1f4440a81300'/>
<id>urn:sha1:1fcae03369abb4c2cc180cd5a49e1f4440a81300</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add `DenseBitSet::union_not`</title>
<updated>2025-01-14T12:49:10+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-01-12T01:44:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e70112caf86dac4a01739538d3e6f3d163e47642'/>
<id>urn:sha1:e70112caf86dac4a01739538d3e6f3d163e47642</id>
<content type='text'>
This is similar to the existing `union`, except that bits in the RHS are
negated before being incorporated into the LHS.

Currently only `DenseBitSet` is supported. Supporting other bitset types is
possible, but non-trivial, and currently isn't needed.
</content>
</entry>
<entry>
<title>rename `BitSet` to `DenseBitSet`</title>
<updated>2025-01-11T11:34:01+00:00</updated>
<author>
<name>Rémy Rakic</name>
<email>remy.rakic+github@gmail.com</email>
</author>
<published>2025-01-07T15:19:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a13354bea05968799a5be5521691322274fa6a9e'/>
<id>urn:sha1:a13354bea05968799a5be5521691322274fa6a9e</id>
<content type='text'>
This should make it clearer that this bitset is dense, with the
advantages and disadvantages that it entails.
</content>
</entry>
<entry>
<title>Use `BitSet` in `SparseBitMatrix`.</title>
<updated>2024-12-08T21:53:33+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-12-05T01:49:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dd28c40c295778fc3c3cb945c443efc6ec86ee2e'/>
<id>urn:sha1:dd28c40c295778fc3c3cb945c443efc6ec86ee2e</id>
<content type='text'>
A `ChunkedBitSet` has to be at least 2048 bits for it to outperform a
`BitSet`, because that's the chunk size. The largest `SparseBitMatrix`
encountered when compiling the compiler and the entire rustc-perf
benchmark suite is less than 600 bits.

This change is a tiny perf win, but the motivation is more about
avoiding uses of `ChunkedBitSet` outside of `MixedBitSet`.

The test change is necessary to avoid hitting the `&lt;BitSet&lt;T&gt; as
BitRelations&lt;ChunkedBitSet&lt;T&gt;&gt;&gt;::subtract` method that has
`unimplemented!` in its body and isn't otherwise used.
</content>
</entry>
<entry>
<title>Remove `HybridBitSet`.</title>
<updated>2024-11-29T06:23:34+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-11-25T02:17:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4846c1922d13d143eb346e8747e282eb46ad45b7'/>
<id>urn:sha1:4846c1922d13d143eb346e8747e282eb46ad45b7</id>
<content type='text'>
It's no longer used.
</content>
</entry>
<entry>
<title>Reformat using the new identifier sorting from rustfmt</title>
<updated>2024-09-22T23:11:29+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-09-22T23:05:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c682aa162b0d41e21cc6748f4fecfe01efb69d1f'/>
<id>urn:sha1:c682aa162b0d41e21cc6748f4fecfe01efb69d1f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reformat `use` declarations.</title>
<updated>2024-07-28T22:26:52+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-07-28T22:13:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=84ac80f1921afc243d71fd0caaa4f2838c294102'/>
<id>urn:sha1:84ac80f1921afc243d71fd0caaa4f2838c294102</id>
<content type='text'>
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
</content>
</entry>
<entry>
<title>Fix cloning from a BitSet with a different domain size</title>
<updated>2022-07-08T09:41:36+00:00</updated>
<author>
<name>Tomasz Miąsko</name>
<email>tomasz.miasko@gmail.com</email>
</author>
<published>2022-07-08T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9139a63b25e53722d7225cf373e4d713e0d5596f'/>
<id>urn:sha1:9139a63b25e53722d7225cf373e4d713e0d5596f</id>
<content type='text'>
The previous implementation incorrectly assumed that the
number of words in a bit set is equal to the domain size.

The new implementation delegates to `Vec::clone_from` which
is specialized for `Copy` elements.
</content>
</entry>
<entry>
<title>`BitSet` perf improvements</title>
<updated>2022-06-15T02:41:58+00:00</updated>
<author>
<name>Jakob Degen</name>
<email>jakob.e.degen@gmail.com</email>
</author>
<published>2022-06-05T23:22:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bc7cd2f351ab35e0830563858e827a2d397d176d'/>
<id>urn:sha1:bc7cd2f351ab35e0830563858e827a2d397d176d</id>
<content type='text'>
This commit makes two changes:
 1. Changes `MaybeLiveLocals` to use `ChunkedBitSet`
 2. Overrides the `fold` method for the iterator for `ChunkedBitSet`
</content>
</entry>
</feed>
