rust/src/libcore/slice
Josh Stone 53be0ccbc9 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.
2020-03-04 10:34:24 -08:00
..
memchr.rs Have tidy ensure that we document all unsafe blocks in libcore 2019-11-06 11:04:42 +01:00
mod.rs Use subslice patterns in slice methods 2020-03-04 10:34:24 -08:00
rotate.rs Improve ptr_rotate performance, tests, and benchmarks 2019-08-06 10:42:48 -05:00
sort.rs Format libcore with rustfmt 2019-11-26 23:02:11 -08:00