stream: avoid unnecessary concat of a single buffer.
Avoids doing a buffer.concat on the internal buffer when that array has only a single thing in it. Reviewed-By:Chris Dickinson <chris@neversaw.us> Reviewed-By:
James M Snell <jasnell@gmail.com> PR-URL: https://github.com/nodejs/node/pull/3300
parent
770cd229
Please register or sign in to comment