diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-01-13 05:26:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-13 05:26:51 +0100 |
| commit | 0c53b45e8581e439cf890adaba857014f7ef1fdb (patch) | |
| tree | 38b4b38ddf1aa656f5f57d4a2249b827a4c6f9a2 /src/rustllvm/ArchiveWrapper.cpp | |
| parent | b7093e51c9352c22e780a5a5039da59297c4e846 (diff) | |
| parent | 46fa818d3443d4a62cd97be086d4d7a416b2d03e (diff) | |
| download | rust-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
