about summary refs log tree commit diff
path: root/src/rustllvm/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-01-13 05:26:51 +0100
committerGitHub <noreply@github.com>2019-01-13 05:26:51 +0100
commit0c53b45e8581e439cf890adaba857014f7ef1fdb (patch)
tree38b4b38ddf1aa656f5f57d4a2249b827a4c6f9a2 /src/rustllvm/ArchiveWrapper.cpp
parentb7093e51c9352c22e780a5a5039da59297c4e846 (diff)
parent46fa818d3443d4a62cd97be086d4d7a416b2d03e (diff)
downloadrust-0c53b45e8581e439cf890adaba857014f7ef1fdb.tar.gz
rust-0c53b45e8581e439cf890adaba857014f7ef1fdb.zip
Rollup merge of #57461 - nnethercote:ParseResult-Failure-static-str, r=simulacrum
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/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions