« Previous | Next » 

Revision d4fcb23e

IDd4fcb23e38e74d21e04b3a17d10e52949b630ec0
Parent c7214fe3
Child 08a5b442

Added by Nick Apperson about 10 years ago

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 <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences