Files
rust/compiler/rustc_mir_transform/src
bors f6cb952dc1 Auto merge of #133891 - nnethercote:MixedBitSet, r=Mark-Simulacrum
Introduce `MixedBitSet`

`ChunkedBitSet` is good at avoiding excessive memory usage for programs with very large functgions where dataflow bitsets have very large domain sizes. But it's overly heavyweight for small bitsets, because any non-empty `ChunkedBitSet` takes up at least 256 bytes.

This PR introduces `MixedBitSet`, which is a simple bitset that uses `BitSet` for small/medium bitsets and `ChunkedBitSet` for large bitsets. It's a speed and memory usage win.

r? `@Mark-Simulacrum`
2024-12-09 07:13:11 +00:00
..
2024-11-19 18:06:20 +01:00
2024-12-02 16:19:17 +11:00
2024-11-26 10:45:21 +00:00
2024-09-24 14:25:16 -07:00
2024-11-26 10:45:21 +00:00
2024-11-25 20:19:08 +01:00
2024-12-02 13:38:18 +01:00
2024-11-26 10:45:21 +00:00
2024-11-23 13:52:56 +01:00
2024-11-26 12:05:57 +11:00
2024-11-26 10:45:21 +00:00
2024-11-26 10:45:21 +00:00
2024-11-26 10:45:21 +00:00
2024-11-23 13:52:57 +01:00
2024-09-10 08:42:30 +10:00
2024-11-26 12:05:57 +11:00
2024-11-26 10:45:21 +00:00
2024-11-26 10:45:21 +00:00
2024-11-19 18:06:20 +01:00
2024-11-26 10:45:21 +00:00