domain: speed up domain.create

Use `EventEmitter.call` instead of `EventEmitter.apply` because of performance.
This commit is contained in:
Ryunosuke SATO
2012-12-28 00:51:31 +09:00
committed by isaacs
parent 8936868e9b
commit 697484df82

View File

@@ -70,7 +70,7 @@ function uncaughtHandler(er) {
inherits(Domain, EventEmitter);
function Domain() {
EventEmitter.apply(this);
EventEmitter.call(this);
this.members = [];
}