mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
stream: speed up instantiation of readable stream
- Stream.apply -> Stream.call
This commit is contained in:
@@ -91,7 +91,7 @@ function Readable(options) {
|
||||
// legacy
|
||||
this.readable = true;
|
||||
|
||||
Stream.apply(this);
|
||||
Stream.call(this);
|
||||
}
|
||||
|
||||
// backwards compatibility.
|
||||
|
||||
Reference in New Issue
Block a user