lukeed/tidyPublic

perf: vectorize ascii width

The ASCII check stopped at the first non-printable byte, which kept
the compiler from using SIMD. Checking 16-byte chunks without an early
exit vectorizes. About 1.6% on pages.
LELuke Edwards authored
552d331Patch
Parent9a56dda
1 file changed+4-1
StackedSplit
crates/tidyrs/src/doc/width.rs+4 −1