stream: fast-path stateless transform flush results · nodejs/node@e48e287 · GitHub
Skip to content

Commit e48e287

Browse files
trivikraduh95
authored andcommitted
stream: fast-path stateless transform flush results
Avoid generator-based normalization for common flush result types in fused stateless stream/iter transforms. This keeps the corrected flush ordering while reducing overhead for already-normalized batches and primitive byte outputs. Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> Assisted-by: openai:gpt-5.5 PR-URL: #63605 Backport-PR-URL: #64675 Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
1 parent f0ee316 commit e48e287

1 file changed

Lines changed: 64 additions & 4 deletions

File tree

lib/internal/streams/iter/pull.js

Lines changed: 64 additions & 4 deletions

0 commit comments

Comments
 (0)