Skip to content

v1.4.4

Choose a tag to compare

@hownowstephen hownowstephen released this 22 Oct 18:28
c61c872

What's Changed

ConvertNode is about a third faster and allocates about half the bytes on real email templates. Output is unchanged.

Performance

  • fixSpacing copies runs of plain ASCII in bulk and skips indentation in one scan; WordWrap returns its input untouched when no line is too long; inline-style checks compare without lowercasing; options no longer escape to the heap (#131)
  • fixSpacing reads 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