lukeed/tidyPublic

perf: skip runs in YAML plain

The lexer read a plain scalar a byte at a time. It now steps over
each run of bytes that can't end it or start a ':' check.

The vite lockfile formats in 11.1 ms instead of 11.7 ms.
LELuke Edwards authored
c06f41dPatch
Parent3224559
1 file changed+7-0
StackedSplit
crates/tidy/src/yaml/lexer.rs+7 −0