diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-04-21 13:49:40 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-04-21 13:49:40 +1000 |
| commit | 643e9f707ed4ca13a158b6e290b424e520809ca6 (patch) | |
| tree | 7c737c276331b5891fabcd32be126ff1be6e7dff /compiler/rustc_codegen_llvm/src | |
| parent | cc4e3443ecf96f395e598b14af208d36a11ffb9f (diff) | |
| download | rust-643e9f707ed4ca13a158b6e290b424e520809ca6.tar.gz rust-643e9f707ed4ca13a158b6e290b424e520809ca6.zip | |
Introduced `Cursor::next_with_spacing_ref`.
This lets us clone just the parts within a `TokenTree` that need cloning, rather than the entire thing. This is a surprisingly large performance win, up to 4% on `async-std-1.10.0`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
