Repository navigation
v1.4.4
What's Changed
ConvertNode is about a third faster and allocates about half the bytes on real email templates. Output is unchanged.
Performance
fixSpacingcopies runs of plain ASCII in bulk and skips indentation in one scan;WordWrapreturns its input untouched when no line is too long; inline-style checks compare without lowercasing; options no longer escape to the heap (#131)fixSpacingreads the output buffer's bytes directly instead of a copy of them, table rows are walked without collecting them, and the 8-byte word reads are bounds checked once instead of eight times (#132)
ConvertNode at 990 columns on the corpus templates: 28–55% faster, and 47–55% fewer bytes allocated on builder-style templates. Convert, parse included, is 1–19% faster.
Full Changelog: v1.4.3...v1.4.4