Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract try/catch into a separate function to prevent deopt #171

Merged
merged 1 commit into from
Aug 19, 2016

Conversation

gaearon
Copy link
Contributor

@gaearon gaearon commented Aug 17, 2016

Not a big deal but this can add up if a lot of elements are being created (such as the case with FixedDataTable).

Before:

screen shot 2016-08-17 at 17 33 22

After:

screen shot 2016-08-17 at 17 32 40

@ghost ghost added the CLA Signed label Aug 17, 2016
@zpao
Copy link
Member

zpao commented Aug 18, 2016

Ok. Do you want this in a 0.8 to ship with React sooner? Master is 0.9 and has a few changes I'd rather not take in a React patch release (we should be able to do minor though)

@gaearon
Copy link
Contributor Author

gaearon commented Aug 18, 2016

It would be cool to ship together with my other changes but no big deal if cherry picking is too much pain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants