[][src]Function syntax_pos::analyze_source_file::analyze_source_file_sse2

unsafe fn analyze_source_file_sse2(
    src: &str,
    output_offset: BytePos,
    lines: &mut Vec<BytePos>,
    multi_byte_chars: &mut Vec<MultiByteChar>,
    non_narrow_chars: &mut Vec<NonNarrowChar>
)
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

This is supported with target feature sse2 only.

Check 16 byte chunks of text at a time. If the chunk contains something other than printable ASCII characters and newlines, the function falls back to the generic implementation. Otherwise it uses SSE2 intrinsics to quickly find all newlines.