Browse Source

stream: speed up instantiation of readable stream

- Stream.apply -> Stream.call
v0.9.5-release
Ryunosuke SATO 12 years ago
committed by isaacs
parent
commit
fde338bf83
  1. 2
      lib/_stream_readable.js

2
lib/_stream_readable.js

@ -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…
Cancel
Save