perf: shared lines, faster scans
line, softline, hardline, literalline and breakParent are shared docs, as in Prettier. The lexer finds the end of plain text with memchr3 and looks for a NUL once, and width counts runs of printable ASCII at once. Pages on one thread: 67 to 64 ms.
Parent17fae60
4 files changed+98-36
StackedSplit