Files
node/lib
Anatoli Papirovski fe8794560a events: optimize condition for optimal scenario
Instead of always checking whether we've already warned about a
possible EventEmitter memory leak, first run the rest of the
code as accessing random properties on an Array is expensive.

In addition, remove an unnecessary truthy check.

PR-URL: https://github.com/nodejs/node/pull/20452
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
2018-05-03 14:45:09 +02:00
..
2018-04-26 19:42:48 +02:00
2018-04-13 19:59:44 +02:00
2018-03-05 19:51:30 +01:00
2018-04-05 04:46:26 +08:00
2018-04-14 10:55:35 -07:00
2018-04-28 17:15:39 +02:00
2017-08-28 00:39:42 +04:00
2018-04-03 13:57:41 -07:00
2016-10-04 12:17:32 -04:00
2018-03-05 19:51:30 +01:00
2018-04-16 16:02:12 +02:00
2017-03-10 11:23:48 -08:00
2018-05-02 22:32:24 -07:00
2018-04-05 04:46:26 +08:00
2018-04-20 00:02:45 +02:00
2018-04-26 19:42:48 +02:00