Files
node/lib
Brian White 7061669dba events: optimize adding and removing of listeners
These optimizations result in >2x speedup in the ee-add-remove
benchmark:

* Don't mutate array.length when removing the last listener for
an event
* Don't bother checking max listeners if listeners isn't an array
* Don't call delete when removing the last event in _events, just
re-assign a new object instead

PR-URL: https://github.com/iojs/io.js/pull/785
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Evan Lucas <evanlucas@me.com>
2015-02-11 23:06:26 +01:00
..
2015-01-31 23:47:29 -05:00
2015-01-31 23:47:29 -05:00
2015-01-31 23:47:29 -05:00
2015-01-31 23:47:29 -05:00
2015-01-31 23:47:29 -05:00
2015-01-31 23:47:29 -05:00
2015-02-09 14:14:20 +03:00
2015-02-11 14:36:48 -07:00
2015-01-31 23:47:29 -05:00
2015-01-31 23:47:29 -05:00
2015-01-21 16:21:31 -05:00
2015-02-10 15:35:00 +03:00
2015-02-07 12:00:16 -08:00
2015-01-31 23:47:29 -05:00
2015-01-21 16:21:31 -05:00
2015-01-31 23:47:29 -05:00
2014-11-28 13:21:43 +03:00
2015-01-31 23:47:29 -05:00
2015-01-31 23:47:29 -05:00
2015-01-31 23:47:29 -05:00
2015-01-31 23:47:29 -05:00
2015-01-31 23:47:29 -05:00
2015-01-21 16:21:31 -05:00
2015-01-21 16:21:31 -05:00
2015-01-31 23:47:29 -05:00
2015-01-31 23:47:29 -05:00
2015-01-31 23:47:29 -05:00
2015-02-07 17:41:44 +03:00
2015-01-21 16:21:31 -05:00
2015-01-31 23:47:29 -05:00
2015-01-31 23:47:29 -05:00