mirror of
https://github.com/nodejs/node.git
synced 2026-10-09 12:57:16 -04:00
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 <[email protected]>
Conflicts:
lib/buffer.js