Commit 8854183f authored by Calvin Metcalf's avatar Calvin Metcalf Committed by James M Snell
Browse files

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: default avatarChris Dickinson <chris@neversaw.us>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/3300
parent 770cd229
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