diff options
| author | bors <bors@rust-lang.org> | 2024-11-07 04:26:33 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-11-07 04:26:33 +0000 |
| commit | 546a1eaab9df8473e9fe8816a51957c7c29332a1 (patch) | |
| tree | 6a3aa0d382755dde4b5c1a499961cd83190eebf2 /compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp | |
| parent | 775f6d8d9d52467a53689ba612ee417f1049474c (diff) | |
| parent | 5a855654de7ffb09681002ba6685a4234ac0a392 (diff) | |
| download | rust-546a1eaab9df8473e9fe8816a51957c7c29332a1.tar.gz rust-546a1eaab9df8473e9fe8816a51957c7c29332a1.zip | |
Auto merge of #132705 - kornelski:inline-repeat, r=tgross35
Inline str::repeat `str` is non-generic and `str.repeat()` doesn't get inlined, which makes it use a slower algorithm in case of 1-char repetitions. Equivalent byte slice does get inlined: https://rust.godbolt.org/z/4arvh97r4
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
