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

Add try/catch helper to fix #148 #150

Merged
merged 1 commit into from
Jan 13, 2015

Conversation

maxnordlund
Copy link
Contributor

This implements the first alternativ in #148, e.g. use a helper function for all try catch in the runtime.

@maxnordlund maxnordlund force-pushed the issue-148-try-catch-helper branch 3 times, most recently from 6abfb9b to f65cbf5 Compare December 7, 2014 23:45
@benjamn
Copy link
Collaborator

benjamn commented Dec 8, 2014

That Travis failure is not your fault, by the way.

@monsanto
Copy link
Contributor

Any word on this? I've been wanting to take a performance pass over Regenerator and this is the first thing that came to mind.

@maxnordlund
Copy link
Contributor Author

Just rebased of master, should be cleanly mergeable.

@benjamn
Copy link
Collaborator

benjamn commented Jan 12, 2015

Have any idea how much this helps performance?

@maxnordlund
Copy link
Contributor Author

I guess it depends, and without some sort of benchmark it's difficult to say. But this is an optimization that bluebird uses, and is also mentioned on html5rocks.

benjamn added a commit that referenced this pull request Jan 13, 2015
@benjamn benjamn merged commit 222d491 into facebook:master Jan 13, 2015
@maxnordlund maxnordlund deleted the issue-148-try-catch-helper branch January 13, 2015 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants