Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ghostdogpr
Copy link
Member

In #1187, foreachParN was fixed to avoid creating 'n' fibers all sharing a semaphore, but foreachParN_ was left with the old behavior, leading to dramatic performance with large collections.

I reused the implementation of foreachParN but simplified it since we don't need to collect results.

@adamgfraser adamgfraser merged commit 5ddd905 into zio:master Oct 22, 2020
@ghostdogpr ghostdogpr deleted the feature/foreachParN_ branch October 22, 2020 04: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.

2 participants