Skip to content

Commit

Permalink
Update packages/astro/src/runtime/server/render/util.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored Apr 1, 2024
1 parent 2eb2f1a commit 17d5a6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/src/runtime/server/render/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class BufferedRenderer implements RenderDestination {
destination.write(chunk);
}

// NOTE: We don't empty `bufferChunks` after it's written as benchmarks show
// NOTE: We don't empty `this.chunks` after it's written as benchmarks show
// that it causes poorer performance, likely due to forced memory re-allocation,
// instead of letting the garbage collector handle it automatically.
// (Unsure how this affects on limited memory machines)
Expand Down

0 comments on commit 17d5a6e

Please sign in to comment.