about summary refs log tree commit diff
path: root/compiler/rustc_session/src/config.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-06-15 21:38:13 +0000
committerbors <bors@rust-lang.org>2025-06-15 21:38:13 +0000
commitf768dc01da9a681716724418ccf64ce55bd396c5 (patch)
tree73e695adf5f62b6af59f5d96c30072e6f195ead3 /compiler/rustc_session/src/config.rs
parent586ad391f5ee4519acc7cae340e34673bae762b1 (diff)
parent2554f8f74d694fdd7fd98a76330b1030e37a1831 (diff)
downloadrust-f768dc01da9a681716724418ccf64ce55bd396c5.tar.gz
rust-f768dc01da9a681716724418ccf64ce55bd396c5.zip
Auto merge of #142471 - lqd:sparse-borrows, r=nnethercote
use `MixedBitSet` for borrows-in-scope dataflow analysis

The `Borrows` dataflow analysis uses a dense bitset, but a bitset supporting _some_ amount of sparseness is better suited for big functions with a big number of loans.

The cutoff between dense and chunked bitset is around 2K loans IIRC, and we could finesse that value if we wanted to, but as-is it happens to a couple of rustc-perf benchmarks (which IIRC are at least partially generated from macros and the likes.). It's a small win on these two, and shouldn't have any impact on the others.

r? `@matthewjasper`
Diffstat (limited to 'compiler/rustc_session/src/config.rs')
0 files changed, 0 insertions, 0 deletions