lukeed/tidyPublic

perf: faster xml names

Names read ASCII bytes without decoding, attributes are copied
only to sort them, and ignored ranges are looked for only in a
file that has <!-- prettier-ignore-start -->. About 7% less time
on docbook-xsl with one thread.
LELuke Edwards authored
fe14dc5Patch
Parent8b28a39
3 files changed+32-6
StackedSplit
crates/tidyrs/src/xml/lexer.rs+9 −1
crates/tidyrs/src/xml/mod.rs+10 −2
crates/tidyrs/src/xml/print.rs+13 −3