lukeed/tidyPublic

perf: 16-byte docs, faster fills

Docs keep texts and conditional states in tables of their own, so a
node takes 16 bytes. A fill measures a word, or a word, a line, and a
word, by adding widths when its parts are plain texts. Entity names
are in a hash set. Pages on one thread: 56 to 54 ms.
LELuke Edwards authored
c786fd1Patch
Parent2dbb35d
4 files changed+148-102
StackedSplit
crates/tidyrs/src/doc/mod.rs+78 โˆ’48
crates/tidyrs/src/doc/print.rs+50 โˆ’38
crates/tidyrs/src/html/entities.rs+3 โˆ’1
crates/tidyrs/src/html/print.rs+17 โˆ’15