about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-05-26 19:22:31 +0000
committerbors <bors@rust-lang.org>2021-05-26 19:22:31 +0000
commit9111b8ae9793f18179a1336417618fc07a9cac85 (patch)
treec9a340a8df725f9af9c8b0e6f905f3fd8321c6b1 /compiler/rustc_codegen_llvm/src
parent9a700d2947f2d7f97a2c0dfca3117a8dcc255bdd (diff)
parent020287516b756936dc774f95f6a8039c7d24d640 (diff)
downloadrust-9111b8ae9793f18179a1336417618fc07a9cac85.tar.gz
rust-9111b8ae9793f18179a1336417618fc07a9cac85.zip
Auto merge of #83770 - the8472:tra-extend, r=Mark-Simulacrum
Add `TrustedRandomAccess` specialization for `Vec::extend()`

This should do roughly the same as the `TrustedLen` specialization but result in less IR by using `__iterator_get_unchecked`
instead of `Iterator::for_each`

Conflicting specializations are manually prioritized by grouping them under yet another helper trait.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions