Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node-v0.x-archive
base: 72dcc26c7af4
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: ee95e4f5f76c
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Jun 23, 2014

  1. 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>
    
    Conflicts:
    	lib/buffer.js
    mouna-apperson authored and trevnorris committed Jun 23, 2014
    Copy the full SHA
    ee95e4f View commit details
    Browse the repository at this point in the history