-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
Make the Parallel interpreter stack safe #131
Conversation
Codecov Report
@@ Coverage Diff @@
## master #131 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 48 48
Lines 1097 1102 +5
=====================================
+ Hits 1097 1102 +5
Continue to review full report at Codecov.
|
@@ -50,7 +50,7 @@ describe('Parallel', () => { | |||
|
|||
it('parallelizes execution', function(){ | |||
this.timeout(70); | |||
const actual = parallel(2, [ | |||
const actual = parallel(5, [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is mostly unrelated. It corrects an earlier mistake which caused the tests to fail sometimes in Travis.
2b66668
to
17de9db
Compare
17de9db
to
7ccd355
Compare
@Avaq WOW! it works perfectly! Amazing job 👍, thx a lot Performance is equals to my reduce/chain hack |
Great! I will release it in |
* #128 The performance of transforming Futures has improved significantly. * #131 Future.parallel has been made stack-safe. * #131 Future.parallel now guarantees execution order. * #132 Improve version interoperability. Note that 6.3.x futures will not be compatible with 6.2.x Futures, so when upgrading, make sure to upgrade all producers of Future instances. To avoid having to do this with future releases, I recommend setting Fluture as a devDependency if you are maintaining a library which exposes Future instances to its users.
Would you mind testing this branch against your code, @alexshuhin, to verify whether your issue has been resolved?
Fixes #130