diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-03-07 08:15:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-07 08:15:29 +0100 |
| commit | b25fb9e79bc52f4746c966a7ade7bb93b67c4aa0 (patch) | |
| tree | 16bec1ee2458b9dfcaeb11e9937d2082df491d0f /src/libstd/sys/unix/stack_overflow.rs | |
| parent | ba1f6cbb00511becb2ab0f99d1e06388ad3dbf95 (diff) | |
| parent | 53be0ccbc913f05c81f1762fd60512e3f57ab5c7 (diff) | |
| download | rust-b25fb9e79bc52f4746c966a7ade7bb93b67c4aa0.tar.gz rust-b25fb9e79bc52f4746c966a7ade7bb93b67c4aa0.zip | |
Rollup merge of #69706 - cuviper:subslice-methods, r=Centril
Use subslice patterns in slice methods For all of the methods that pick off the first or last element, we can use subslice patterns to implement them directly, rather than relying on deeper indexing function calls. At a minimum, this means the generated code will rely less on inlining for performance, but in some cases it also optimizes better.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
