Function core::str::cmp_slice [] [src]

unsafe fn cmp_slice(a: &str, b: &str, len: usize) -> i32

Bytewise slice comparison. NOTE: This uses the system's memcmp, which is currently dramatically faster than comparing each byte in a loop.