events: Make the EventEmitter class monomorphic
Always add domain, _events, and _maxListeners properties, set to the default values at first. Leads to a very very slight perf improvement when using setMaxListeners, or dealing with a lot of EE objects that don't have any listeners.
parent
4b8629db
Please register or sign in to comment