Module analyze_source_file

Source

Functionsยง

analyze_source_file ๐Ÿ”’
Finds all newlines, multi-byte characters, and non-narrow characters in a SourceFile.
analyze_source_file_dispatch ๐Ÿ”’
analyze_source_file_generic ๐Ÿ”’
analyze_source_file_sse2 ๐Ÿ”’ โš sse2
Checks 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.