perf: allocate less in YAML
The parser no longer copies the last item of a collection for each token, the transforms read props from the tokens themselves, nodes get their parent as they are added, the printer borrows nodes and words, and a one-line scalar prints without word lists. On 435 files, one thread goes from 102 to 72 ms, and all threads from 46 to 34 ms.
Parentb3f2473
6 files changed+199-176
StackedSplit