summaryrefslogtreecommitdiff
path: root/src/base64.h
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2017-03-31 22:48:35 -0700
committerJames M Snell <jasnell@gmail.com>2017-04-04 09:39:09 -0700
commit1e6186e9021dd7837a528dea75773749108b5cc4 (patch)
tree031e71a00f7bc173f36f1a404653b53e6533a20b /src/base64.h
parentdc7d9eb0a94c6ca97c5ee0a06a6c4ae84b5b8575 (diff)
downloadandroid-node-v8-1e6186e9021dd7837a528dea75773749108b5cc4.tar.gz
android-node-v8-1e6186e9021dd7837a528dea75773749108b5cc4.tar.bz2
android-node-v8-1e6186e9021dd7837a528dea75773749108b5cc4.zip
buffer,util: refactor for performance
internal/util.js definied toInteger() and toLength() but they were only used by buffer.js. Inlining these small functions results in a small but statistically-significant performance gain. PR-URL: https://github.com/nodejs/node/pull/12153 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/base64.h')
0 files changed, 0 insertions, 0 deletions