streams: Pre-emptively buffer readables up to the highWaterMark
authorisaacs <i@izs.me>
Fri, 22 Feb 2013 19:24:05 +0000 (11:24 -0800)
committerisaacs <i@izs.me>
Fri, 22 Feb 2013 19:24:05 +0000 (11:24 -0800)
commit27d1babaae38aaa683121ff3ea2c70d04e611f13
tree9f16d27cdec71e15086f4dd45268a658935fecc4
parenta63c28e6eb9659103f58cacfd201576ba4fb8ae5
streams: Pre-emptively buffer readables up to the highWaterMark

Also, this adds a test that guarantees that the ordering of several
push() calls in a row is always preserved in synchronous readable streams
lib/_stream_readable.js
test/simple/test-stream-push-order.js [new file with mode: 0644]
test/simple/test-stream2-basic.js
test/simple/test-stream2-objects.js