about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2018-05-17 16:37:11 +1000
committerNicholas Nethercote <nnethercote@mozilla.com>2018-05-17 20:41:38 +1000
commit6872377357dbbf373cfd2aae352cb74cfcc66f34 (patch)
treefedbc184d8155d43518d501049652d89d6fb661d /src/rustllvm/RustWrapper.cpp
parent6fc409ed0938cd2f501642abcaa675977fa5035a (diff)
downloadrust-6872377357dbbf373cfd2aae352cb74cfcc66f34.tar.gz
rust-6872377357dbbf373cfd2aae352cb74cfcc66f34.zip
Change `TokenTreeOrTokenTreeVec` to `TokenTreeOrTokenTreeSlice`.
This avoids a `to_owned` call that can be hot, speeding up the various
runs of html5ever by 1--5%, and some runs of crates.io by 2--3%.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions