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>
Conflicts:
lib/buffer.js
|
||
|---|---|---|
| .. | ||
| buffer-base64-encode.js | ||
| buffer-creation.js | ||
| buffer-read.js | ||
| buffer-write.js | ||
| dataview-set.js | ||