diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-12-05 12:49:04 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-12-09 08:53:33 +1100 |
| commit | dd28c40c295778fc3c3cb945c443efc6ec86ee2e (patch) | |
| tree | afa8e765fd3b57b261f58c50ea03fb6b2dbfd1e0 /tests/coverage/branch/lazy-boolean.cov-map | |
| parent | a06547508a33e432ed45f814a29a1102d5c6c289 (diff) | |
| download | rust-dd28c40c295778fc3c3cb945c443efc6ec86ee2e.tar.gz rust-dd28c40c295778fc3c3cb945c443efc6ec86ee2e.zip | |
Use `BitSet` in `SparseBitMatrix`.
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 `<BitSet<T> as BitRelations<ChunkedBitSet<T>>>::subtract` method that has `unimplemented!` in its body and isn't otherwise used.
Diffstat (limited to 'tests/coverage/branch/lazy-boolean.cov-map')
0 files changed, 0 insertions, 0 deletions
