mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
stream: speed up instantiation of readable stream
- Stream.apply -> Stream.call
This commit is contained in:
parent
697484df82
commit
fde338bf83
@ -91,7 +91,7 @@ function Readable(options) {
|
|||||||
// legacy
|
// legacy
|
||||||
this.readable = true;
|
this.readable = true;
|
||||||
|
|
||||||
Stream.apply(this);
|
Stream.call(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
// backwards compatibility.
|
// backwards compatibility.
|
||||||
|
Loading…
Reference in New Issue
Block a user