Module syntax_pos::analyze_filemap[][src]

🔬 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?

Functions

analyze_filemap [
Experimental
]

Find all newlines, multi-byte characters, and non-narrow characters in a FileMap.

analyze_filemap_dispatch [
Experimental
]
analyze_filemap_generic [
Experimental
]
analyze_filemap_sse2 [
Experimental
] [
sse2
]

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.