mirror of
https://github.com/rust-lang/rust
synced 2024-10-17 05:53:41 +00:00
9e7f72c57d
Don't allocate on SimplifyCfg/Locals/Const on every MIR pass
Hey! 👋🏾 This is a first PR attempt to see if I could speed up some rustc internals.
Thought process:
```rust
pub struct SimplifyCfg {
label: String,
}
```
in [compiler/src/rustc_mir_transform/simplify.rs](
|
||
---|---|---|
.. | ||
src | ||
Cargo.toml |