1
Fork 0
rust/compiler/rustc_mir_dataflow/src/impls
bors ecdd374e61 Auto merge of #97863 - JakobDegen:bitset-choice, r=nnethercote
`BitSet` related perf improvements

This commit makes two changes:
 1. Changes `MaybeLiveLocals` to use `ChunkedBitSet`
 2. Overrides the `fold` method for the iterator for `ChunkedBitSet`

I have local benchmarks verifying that each of these changes individually yield significant perf improvements to #96451 . I'm hoping this will be true outside of that context too. If that is not the case, I'll try to gate things on where they help as needed

r? `@nnethercote` who I believe was working on closely related things, cc `@tmiasko` because of the destprop pr
2022-06-17 07:35:22 +00:00
..
borrowed_locals.rs Merge arms in borrowed locals transfer function 2022-06-12 07:27:57 +02:00
init_locals.rs Add new MutatatingUseContexts for deinit and SetDiscriminant 2022-04-11 09:26:26 -04:00
liveness.rs Auto merge of #97863 - JakobDegen:bitset-choice, r=nnethercote 2022-06-17 07:35:22 +00:00
mod.rs Remove duplicated implementations of borrowed locals analysis 2022-06-12 07:27:57 +02:00
storage_liveness.rs Remove AlwaysLiveLocals wrapper struct 2022-06-07 16:54:00 +02:00