diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-08-04 21:31:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-04 21:31:56 +0200 |
| commit | 23e86f6ef8d5576a655cbba4b68f1f3103e69d27 (patch) | |
| tree | 161ac36ffd24e3428016e583b2f1c921f25ec532 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 5054e41b642fb6da0094034e56ae65d98e8bb884 (diff) | |
| parent | f74eee2fa6620ecb88070ed2eb2dfd7ba12e0b63 (diff) | |
| download | rust-23e86f6ef8d5576a655cbba4b68f1f3103e69d27.tar.gz rust-23e86f6ef8d5576a655cbba4b68f1f3103e69d27.zip | |
Rollup merge of #114351 - ttsugriy:sort-by-words, r=fee1-dead
[rustc_span][perf] Remove unnecessary string joins and allocs. Comparing vectors of string parts yields the same result but avoids unnecessary `join` and potential allocation for resulting `String`. This code is cold so it's unlikely to have any measurable impact, but considering but since it's also simpler, why not? :)
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
