Expand description
Operations on ASCII [u8].
Structsยง
- Escape
Ascii - An iterator over the escaped version of a byte slice.
- Escape
Byte ๐ - Split
Ascii Whitespace Experimental - An iterator over the non-ASCII-whitespace subslices of a byte slice, separated by any amount of ASCII whitespace.
Constantsยง
- SSE2_
CHUNK_ ๐SIZE x86-64 and sse2 - Chunk size for SSE2 vectorized ASCII checking (4x 16-byte loads).
Functionsยง
- is_
ascii ๐AArch64 and neon, or x86-64 andsse2 - Uses explicit SIMD intrinsics to prevent LLVM from auto-vectorizing with broken code (e.g., AVX-512 on x86-64 that extracts mask bits one-by-one).
- is_
ascii_ ๐sse2 x86-64 and sse2 - is_
ascii_ ๐ปsimple Experimental - ASCII test without the chunk-at-a-time optimizations.