diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-05-10 11:35:26 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-10 11:35:26 -0500 |
| commit | a77ba86424cae163edf36415a2933c6a8b703ee3 (patch) | |
| tree | 9118ded9d0d4aa9cb205fedb55eb214cebf9f0f1 /src/rustllvm/RustWrapper.cpp | |
| parent | 4199a6c1ee42bb4b4f88fa3055ffd32bde99f673 (diff) | |
| parent | 77c40f8c6f8cc472f6438f7724d60bf3b7718a0c (diff) | |
| download | rust-a77ba86424cae163edf36415a2933c6a8b703ee3.tar.gz rust-a77ba86424cae163edf36415a2933c6a8b703ee3.zip | |
Rollup merge of #50564 - nnethercote:inline-Span-methods, r=petrochenkov
Inline `Span` methods.
Because they are simple and hot.
This change speeds up some incremental runs of a few rustc-perf
benchmarks, the best by 3%.
Here are the ones with a speedup of at least 1%:
```
coercions
avg: -1.1% min: -3.4% max: -0.2%
html5ever-opt
avg: -0.8% min: -1.7% max: -0.2%
clap-rs-check
avg: -0.3% min: -1.4% max: 0.7%
html5ever
avg: -0.7% min: -1.2% max: -0.4%
html5ever-check
avg: -0.9% min: -1.1% max: -0.8%
clap-rs
avg: -0.4% min: -1.1% max: -0.1%
crates.io-check
avg: -0.8% min: -1.0% max: -0.6%
serde-opt
avg: -0.6% min: -1.0% max: -0.3%
```
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
