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: cec81593d7e4
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: c0e70354dbf7
Choose a head ref
  • 2 commits
  • 7 files changed
  • 1 contributor

Commits on Aug 8, 2013

  1. Copy the full SHA
    967b5db View commit details
    Browse the repository at this point in the history
  2. stream: Short-circuit buffer pushes when flowing

    When a stream is flowing, and not in the middle of a sync read, and
    the read buffer currently has a length of 0, we can just emit a 'data'
    event rather than push it onto the array, emit 'readable', and then
    automatically call read().
    
    As it happens, this is quite a frequent occurrence!  Making this change
    brings the HTTP benchmarks back into a good place after the removal of
    the .ondata/.onend socket kludge methods.
    isaacs committed Aug 8, 2013
    Copy the full SHA
    c0e7035 View commit details
    Browse the repository at this point in the history