Skip to content

fix: optimize buffer handling for single chunk bodies in finish function - #170

Merged
bjohansebas merged 1 commit into
masterfrom
perf-stream
Jul 8, 2026
Merged

fix: optimize buffer handling for single chunk bodies in finish function#170
bjohansebas merged 1 commit into
masterfrom
perf-stream

Conversation

@bjohansebas

@bjohansebas bjohansebas commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

This improves performance, since we wouldn't be copying the data into a Buffer only to return the same data.

@bjohansebas
bjohansebas merged commit 7eb641e into master Jul 8, 2026
26 checks passed
@bjohansebas
bjohansebas deleted the perf-stream branch July 8, 2026 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant