diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2018-05-17 16:37:11 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2018-05-17 20:41:38 +1000 |
| commit | 6872377357dbbf373cfd2aae352cb74cfcc66f34 (patch) | |
| tree | fedbc184d8155d43518d501049652d89d6fb661d /src/rustllvm/RustWrapper.cpp | |
| parent | 6fc409ed0938cd2f501642abcaa675977fa5035a (diff) | |
| download | rust-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
