Instead of spawning a separate yq process for each registry package, utilize multi-document parsing through a single
process.
This should have significant performance improvements on all platforms, but especially Windows, due to bottlenecks
caused by AV software.
IMPORTANT: Writing all package definitions as-is via stdin like this works because packages in the registry (at least
the core registry) must start with a document header (---), effectively acting as a document separator.
Instead of spawning a separate yq process for each registry package, utilize multi-document parsing through a single process.
This should have significant performance improvements on all platforms, but especially Windows, due to bottlenecks caused by AV software.
IMPORTANT: Writing all package definitions as-is via stdin like this works because packages in the registry (at least the core registry) must start with a document header (---), effectively acting as a document separator.