diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-04-06 18:08:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-06 18:08:08 +0200 |
| commit | 7bd89b90e8476dca18b74f98eb1383f70b2a4b0e (patch) | |
| tree | f9bb8a35e3b84dcd9f36f1dd6db413aab510bfa1 /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | f5c510260bef89f7799d0b8e1aa70d7d7925cd99 (diff) | |
| parent | 9f2f1aa08354019113f39672228fc62583e6a1ed (diff) | |
| download | rust-7bd89b90e8476dca18b74f98eb1383f70b2a4b0e.tar.gz rust-7bd89b90e8476dca18b74f98eb1383f70b2a4b0e.zip | |
Rollup merge of #138562 - kornelski:nth-panic, r=Noratrieb
Optimize slice {Chunks,Windows}::nth
I've noticed that the `nth` functions on slice iters had non-optimized-out bounds checks.
The new implementation even generates branchless code.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
