stream: speed up instantiation of readable stream

- Stream.apply -> Stream.call
This commit is contained in:
Ryunosuke SATO
2012-12-28 01:30:50 +09:00
committed by isaacs
parent 697484df82
commit fde338bf83

View File

@@ -91,7 +91,7 @@ function Readable(options) {
// legacy
this.readable = true;
Stream.apply(this);
Stream.call(this);
}
// backwards compatibility.