Skip to content

Commit

Permalink
Separate SyntheticEvent constructors to prevent deopts (#19907)
Browse files Browse the repository at this point in the history
* Remove arguments from hot path

* Make SyntheticEvent subtypes monomorphic

* Maybe fix Flow?
  • Loading branch information
gaearon committed Sep 25, 2020
1 parent c63741f commit 1890159
Show file tree
Hide file tree
Showing 4 changed files with 191 additions and 172 deletions.
Loading

0 comments on commit 1890159

Please sign in to comment.