Karl Seguin
c4e85c3277
Add a hasDirectListeners to EventManager
...
Allows checking if a direct listener exists, if it doesn't, event creation can
be skipped.
I looked at a couple sites, the benefits of this is small.
Most sites don't seem to trigger that many direct dispatches and when they do,
they seem to have a listener 50-75% of the time.
2026-03-10 14:57:40 +08:00
..
2026-03-10 14:57:40 +08:00
2026-03-09 17:38:57 +01:00
2026-01-29 21:00:06 +08:00
2026-01-07 14:37:43 +03:00
2026-03-09 19:23:36 +01:00
2026-03-07 11:04:22 +08:00
2026-03-09 19:23:36 +01:00
2026-02-25 05:31:28 +00:00
2026-03-06 09:37:55 +01:00
2026-03-02 12:56:10 +03:00
2026-03-02 11:55:36 +09:00
2026-02-25 18:05:33 +08:00
2026-01-15 19:10:01 +03:00
2026-01-19 09:12:16 +08:00
2026-02-19 13:01:41 +08:00
2026-03-02 22:24:17 +09:00
2026-02-22 22:32:14 +09:00
2026-02-18 09:22:26 +00:00
2026-01-13 12:58:30 +08:00
2026-03-02 21:46:49 +09:00
2026-03-02 23:12:16 +09:00
2026-03-09 19:23:36 +01:00
2026-03-02 16:21:29 +08:00
2026-02-27 08:20:31 +08:00
2025-12-29 12:43:52 +01:00
2026-01-24 07:59:41 +08:00
2026-02-27 17:30:21 +08:00
2026-02-05 11:49:15 +08:00
2026-03-02 18:14:34 +08:00
2026-03-02 11:44:42 +08:00