stream: rename poorly named function
authorBen Noordhuis <info@bnoordhuis.nl>
Thu, 20 Aug 2015 20:33:12 +0000 (22:33 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Mon, 24 Aug 2015 18:24:15 +0000 (20:24 +0200)
commitcaa0d0c0a761cdcc516cd9b7a214e5f05526bb9e
treea4d9d9580c2532c086fbd3093e73a69bba0f0cb9
parent3af8e451f272f1398acf7336f9eff0c64340ffe3
stream: rename poorly named function

roundUpToNextPowerOf2() does more than just rounding up to the next
power of two.  Rename it to computeNewHighWaterMark().

PR-URL: https://github.com/nodejs/node/pull/2479
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
lib/_stream_readable.js