stream: speed up instantiation of readable stream
- Stream.apply -> Stream.call
This commit is contained in:
Родитель
697484df82
Коммит
fde338bf83
|
@ -91,7 +91,7 @@ function Readable(options) {
|
|||
// legacy
|
||||
this.readable = true;
|
||||
|
||||
Stream.apply(this);
|
||||
Stream.call(this);
|
||||
}
|
||||
|
||||
// backwards compatibility.
|
||||
|
|
Загрузка…
Ссылка в новой задаче