about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-11-07 04:26:33 +0000
committerbors <bors@rust-lang.org>2024-11-07 04:26:33 +0000
commit546a1eaab9df8473e9fe8816a51957c7c29332a1 (patch)
tree6a3aa0d382755dde4b5c1a499961cd83190eebf2 /compiler/rustc_codegen_llvm/src
parent775f6d8d9d52467a53689ba612ee417f1049474c (diff)
parent5a855654de7ffb09681002ba6685a4234ac0a392 (diff)
downloadrust-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_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions