Skip to content
This repository has been archived by the owner on May 8, 2022. It is now read-only.

Make the async APIs completely parallel #43

Merged
merged 2 commits into from May 29, 2020

Conversation

wearhere
Copy link
Contributor

This removes the point of coordination introduced in
a9c2f5b when making the APIs
thread-safe, by changing the updates to the result array from sync to
async.

This removes the point of coordination introduced in
a9c2f5b when making the APIs
thread-safe, by changing the updates to the result array from `sync` to
`async`.
The parallel batches don’t need to combine their results with every new result,
only when each batch finishes. This is simpler and should probably optimize
the performance of the queues used to combine results, too.
@krisk krisk merged commit da78ed8 into krisk:master May 29, 2020
@wearhere wearhere deleted the jeff/optimize_async_apis branch May 29, 2020 06:55
@wearhere
Copy link
Contributor Author

Thanks @krisk! Mind publishing a new version?

LambdaDigamma pushed a commit to LambdaDigamma/fuse-swift that referenced this pull request Apr 28, 2021
* Make the async APIs completely parallel

This removes the point of coordination introduced in
a9c2f5b when making the APIs
thread-safe, by changing the updates to the result array from `sync` to
`async`.

* Simplify and optimize the async APIs

The parallel batches don’t need to combine their results with every new result,
only when each batch finishes. This is simpler and should probably optimize
the performance of the queues used to combine results, too.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants