Files
node/lib
isaacs c0e70354db 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.
2013-08-08 13:01:09 -07:00
..
2011-03-14 17:37:05 -07:00
2011-03-14 17:37:05 -07:00
2013-08-01 15:08:01 -07:00
2011-03-14 17:37:05 -07:00
2013-08-01 15:08:01 -07:00
2013-03-28 13:19:08 -07:00
2013-06-20 13:02:53 +02:00
2012-06-28 10:14:03 -07:00
2013-08-01 15:08:01 -07:00
2013-08-01 15:08:01 -07:00
2013-08-02 12:52:34 -07:00
2013-08-01 15:08:01 -07:00