about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-04-21 13:49:40 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2022-04-21 13:49:40 +1000
commit643e9f707ed4ca13a158b6e290b424e520809ca6 (patch)
tree7c737c276331b5891fabcd32be126ff1be6e7dff /compiler/rustc_codegen_llvm/src
parentcc4e3443ecf96f395e598b14af208d36a11ffb9f (diff)
downloadrust-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