Skip to content

Conversation

diesalbla
Copy link
Contributor

@diesalbla diesalbla commented Jul 3, 2023

The four parJoin variants, namely bounded/unbounded and ordered/unordered, delegate to parEvalMapActionImpl passing it a initFork function. These initFork action can be reduced to two cases, depending on whether the parJoin has to preserve order or not. Thus, we can replace the function argument with a boolean flag to parEvalMapActionImpl, and write the initFork cases inside the latter.

The `initFork` actions can be reduced to two cases, depending on
whether the parJoin has to preserve order or not. Thus, we can
replace the function argument with a boolean flag to `parEvalMapActionImpl`.
@diesalbla diesalbla requested a review from armanbilge July 3, 2023 12:07
@mpilquist mpilquist merged commit 087fb73 into typelevel:main Jul 27, 2023
@diesalbla
Copy link
Contributor Author

Thanks @mpilquist

@diesalbla diesalbla deleted the ref_parJoins branch July 27, 2023 21:27
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