Bound stdout shifting to prevent excessive allocations (#941)
Bound stdout shifting to prevent excessive allocations (#941)

I noticed this when using an incremental rebuild. In my project, the `stdout` can grow to 100mb+ during the initial build. During rebuild, the `stdout` is mostly empty. But the old code used an unbounded `slice`, which allocated almost the full 100mb.

evanw/esbuild,evanw/esbuild,evanw/esbuild,evanw/esbuild