lukeed/tidyPublic

perf: XML name table

Name characters are checked with a table, and the lexer tells the
patterns that start with '<' apart by the next character, in the same
order of tries as before.

On the 16.6 MB XML corpus, a parse takes 29.5 ms instead of 33.0 ms.
The XML oracle is unchanged at 103630/104137.
LELuke Edwards authored
9abb89fPatch
Parent6f2b2f5
1 file changed+42-31
StackedSplit
crates/tidy/src/xml/lexer.rs+42 −31