events: move slow path to separate function too
authorBrian White <mscdex@mscdex.net>
Tue, 10 Feb 2015 18:12:09 +0000 (13:12 -0500)
committerBen Noordhuis <info@bnoordhuis.nl>
Wed, 11 Feb 2015 22:05:39 +0000 (23:05 +0100)
commit630f63633490f60a292e62bb7a82bd9ea4de68c4
treeaf8f4e15ff045da1d1c7a9518bee4b458b73f0a3
parent36a779560a0a4d3583feb216a46a64dc3f8e7498
events: move slow path to separate function too

This keeps in line with how things are done for the fast path
and *might* even provide a *slight* performance increase.

PR-URL: https://github.com/iojs/io.js/pull/785
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Evan Lucas <evanlucas@me.com>
lib/events.js