Commit Graph

2 Commits (6190a2236b3a9de49e2e6918ff32c601d15559dd)

Author SHA1 Message Date
Nick Apperson d4fcb23e38 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>
2014-04-01 17:31:28 -07:00
isaacs 2ed56e5235 bench: Consistency in benchmark filenames 2013-02-19 17:16:55 -08:00