Skip to content

Commit

Permalink
[WIP][BUGFIX] ES6 classes on/removeListener and observes/removeObserv…
Browse files Browse the repository at this point in the history
…er interop v2

This is a rework of #16874 which flattens and caches the state of event
listeners more efficiently. Rather than rebuild the result of a
`matchListeners` query each time, including deduping, we flatten the
listeners down the hierarchy of metas the first time an event match is
requested. This still defers the majority of the work early on (adding
listeners is cheap) but also prevents us from having to do the work
again later.
  • Loading branch information
pzuraq committed Aug 31, 2018
1 parent 8b683ea commit 87897d6
Show file tree
Hide file tree
Showing 4 changed files with 298 additions and 95 deletions.
Loading

0 comments on commit 87897d6

Please sign in to comment.