about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-08-04 21:31:56 +0200
committerGitHub <noreply@github.com>2023-08-04 21:31:56 +0200
commit23e86f6ef8d5576a655cbba4b68f1f3103e69d27 (patch)
tree161ac36ffd24e3428016e583b2f1c921f25ec532 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent5054e41b642fb6da0094034e56ae65d98e8bb884 (diff)
parentf74eee2fa6620ecb88070ed2eb2dfd7ba12e0b63 (diff)
downloadrust-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