summaryrefslogtreecommitdiff
path: root/src/signal_wrap.cc
diff options
context:
space:
mode:
authorNick Apperson <apperson@gmail.com>2014-03-25 09:51:13 -0500
committerTrevor Norris <trev.norris@gmail.com>2014-04-01 17:31:28 -0700
commitd4fcb23e38e74d21e04b3a17d10e52949b630ec0 (patch)
treede43d5bf27c9892e374440dc23432faf84173f4b /src/signal_wrap.cc
parentc7214fe355596543d92d7c10b38d78ca65b4abfe (diff)
downloadandroid-node-v8-d4fcb23e38e74d21e04b3a17d10e52949b630ec0.tar.gz
android-node-v8-d4fcb23e38e74d21e04b3a17d10e52949b630ec0.tar.bz2
android-node-v8-d4fcb23e38e74d21e04b3a17d10e52949b630ec0.zip
buffer: improve {read,write}{U}Int* methods
Increase the performance and simplify the logic of Buffer#write{U}Int* and Buffer#read{U}Int* methods by placing the byte manipulation code directly inline. Also improve the speed of buffer-write benchmarks by creating a new call directly to each method by using Function() instead of calling by buff[fn]. Signed-off-by: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to 'src/signal_wrap.cc')
0 files changed, 0 insertions, 0 deletions