isaacs
|
b15e19a232
|
streams2: Remove function.bind() usage
It's too slow, unfortunately.
|
2012-12-13 17:00:32 -08:00 |
|
isaacs
|
2ff499c022
|
streams2: Do multipipe without always using forEach
The Array.forEach call is too expensive.
|
2012-12-13 17:00:32 -08:00 |
|
isaacs
|
286c54439a
|
streams2: Only emit 'readable' when needed
|
2012-12-13 17:00:31 -08:00 |
|
isaacs
|
62dd04027b
|
streams2: Set Readable lwm to 0 by default
|
2012-12-13 17:00:31 -08:00 |
|
isaacs
|
f20fd22abd
|
streams2: Add high water mark for Readable
Also, organize the numeric settings a bit on the ReadableState class
|
2012-12-13 17:00:30 -08:00 |
|
isaacs
|
63ac07b32b
|
streams2: Export Readable/Writable State classes
|
2012-12-13 17:00:30 -08:00 |
|
isaacs
|
286aa04910
|
streams2: Abstract out onread function
|
2012-12-13 17:00:29 -08:00 |
|
isaacs
|
f624ccb475
|
streams2: Use StringDecoder.end
|
2012-12-13 17:00:29 -08:00 |
|
isaacs
|
cf0b4ba410
|
streams2: flow() is not always bound to src
|
2012-12-13 17:00:28 -08:00 |
|
isaacs
|
545f512619
|
streams2: ctor guards on Stream classes
|
2012-12-13 17:00:26 -08:00 |
|
isaacs
|
8acb416ad0
|
streams2: Handle immediate synthetic transforms properly
|
2012-12-13 17:00:26 -08:00 |
|
isaacs
|
02f017d24f
|
streams2: Allow 0 as a lowWaterMark value
|
2012-12-13 17:00:25 -08:00 |
|
isaacs
|
3b59fd70f4
|
streams2: Make Transform streams pull-style
That is, the transform is triggered by a _read, not by a _write.
This way, backpressure works properly.
|
2012-12-13 17:00:24 -08:00 |
|
isaacs
|
9b5abe5bfe
|
streams2: setEncoding and abstract out endReadable
|
2012-12-13 17:00:24 -08:00 |
|
isaacs
|
51a52c43a2
|
streams2: Set flowing=true when flowing
|
2012-12-13 17:00:24 -08:00 |
|
isaacs
|
420e07c577
|
streams2: The new stream base classes
|
2012-12-13 17:00:23 -08:00 |
|