mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-24 21:05:12 +00:00
![]() 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 |