lukeed/tidyPublic

perf: verbatim attributes

A name="value" attribute with nothing to escape, collapse, or embed
prints as its source, so it is now one text from the source instead
of five texts and four scans of the value. About 13% on pages.
LELuke Edwards authored
4da726fPatch
Parentcf3aba0
3 files changed+46-3
StackedSplit
crates/tidyrs/src/html/embed.rs+1 −1
crates/tidyrs/src/html/print.rs+35 −2
crates/tidyrs/tests/html.rs+10 −0