Commit 1b54371c authored by Ruben Bridgewater's avatar Ruben Bridgewater Committed by Matteo Collina
Browse files

stream: use more explicit statements

Using objectMode with stream_wrap has not worked properly
before and would end in an error.
Therefore prohibit the usage of objectMode alltogether.

This also improves the handling performance due to the
cheaper chunk check and by using explicit statements as they
produce better code from the compiler.

PR-URL: https://github.com/nodejs/node/pull/13863


Reviewed-By: default avatarMatteo Collina <matteo.collina@gmail.com>
parent a1ecdcfb
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment