Skip to content
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

Parallel Union Find #33

Draft
wants to merge 28 commits into
base: main
Choose a base branch
from
Draft

Parallel Union Find #33

wants to merge 28 commits into from

Conversation

erincatto
Copy link
Owner

@erincatto erincatto commented Apr 16, 2023

Replaces the depth-first-search (DFS) island builder with union-find (UF).
UF has been made mostly parallel, which seems impractical for DFS.

This will help Box2D scale to more cores.

TODO : finish testing sleep

Update: this PR won't be merged. I'm using persistent islands instead of parallel union-find. The main problem with parallel-union find is lack of determinism.

@erincatto erincatto changed the title Union find testing Parallel Union Find Apr 30, 2023
@erincatto erincatto marked this pull request as draft July 9, 2023 05:44
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.

1 participant