Skip to content

Commit

Permalink
Rollup merge of rust-lang#61724 - aschampion:128-bit-memcmp, r=sfackler
Browse files Browse the repository at this point in the history
core: use memcmp optimization for 128 bit integer slices

All other sized integer slices do this. From rust-lang#61665.
  • Loading branch information
Centril committed Jun 11, 2019
2 parents 5fa30ca + d3461bf commit e294c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/slice/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5420,7 +5420,7 @@ macro_rules! impl_marker_for {
}

impl_marker_for!(BytewiseEquality,
u8 i8 u16 i16 u32 i32 u64 i64 usize isize char bool);
u8 i8 u16 i16 u32 i32 u64 i64 u128 i128 usize isize char bool);

#[doc(hidden)]
unsafe impl<'a, T> TrustedRandomAccess for Iter<'a, T> {
Expand Down

0 comments on commit e294c42

Please sign in to comment.