src: speed up module loading, don't resize buffer
Don't bother shrinking the read buffer on the final read because we dispose it immediately afterwards. Avoids some unnecessary memory allocation and copying. PR-URL: https://github.com/nodejs/node/pull/9132 Reviewed-By:James M Snell <jasnell@gmail.com>
parent
35e88961
Please register or sign in to comment