Skip to content
This repository has been archived by the owner on Feb 1, 2025. It is now read-only.

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
Contributor

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 maxnordlund force-pushed the issue-148-try-catch-helper branch from f65cbf5 to f1062ad Compare January 12, 2015 18:00
@maxnordlund
Copy link
Contributor Author

Just rebased of master, should be cleanly mergeable.

@benjamn
Copy link
Contributor

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
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants