Function atoi_simd::parse_skipped

source ·
pub fn parse_skipped<T: Parse>(s: &[u8]) -> Result<T, AtoiSimdError<'_>>
Expand description

Parses a slice of digits. Was made to be used as a drop-in replacement for str::parse. Checks the first ‘-’ char for signed integers. Skips the ‘+’ char and extra zeroes at the beginning. It’s slower than parse().