about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2019-01-09 15:16:19 +1100
committerNicholas Nethercote <nnethercote@mozilla.com>2019-01-09 15:16:19 +1100
commit46fa818d3443d4a62cd97be086d4d7a416b2d03e (patch)
tree676eb814d1208abb0b0fd463418f0f3e7a6f74b6 /src/rustllvm/RustWrapper.cpp
parentb92552d5578e4544006da0dd5e793a19c2149321 (diff)
downloadrust-46fa818d3443d4a62cd97be086d4d7a416b2d03e.tar.gz
rust-46fa818d3443d4a62cd97be086d4d7a416b2d03e.zip
Change `String` to `&'static str` in `ParseResult::Failure`.
This avoids 770,000 allocations when compiling the `html5ever`
benchmark, reducing instruction counts by up to 2%.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions