about summary refs log tree commit diff
path: root/tests/coverage/branch/lazy-boolean.cov-map
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-12-05 12:49:04 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-12-09 08:53:33 +1100
commitdd28c40c295778fc3c3cb945c443efc6ec86ee2e (patch)
treeafa8e765fd3b57b261f58c50ea03fb6b2dbfd1e0 /tests/coverage/branch/lazy-boolean.cov-map
parenta06547508a33e432ed45f814a29a1102d5c6c289 (diff)
downloadrust-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