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

Polygon collision performance #173

Merged
merged 14 commits into from
Jul 28, 2024
Merged

Polygon collision performance #173

merged 14 commits into from
Jul 28, 2024

Conversation

erincatto
Copy link
Owner

@erincatto erincatto commented Jul 28, 2024

Polygon collision performance regressed from v2.4 due to the addition of speculation. I've rewritten the algorithm to reduce the cost especially for the small overlap case which is common.

Polygon collision performance is about 35% faster and now performs similarly to v2.4 when single threaded while keeping the new features and supporting multi-threading.

@erincatto erincatto merged commit 069a6c7 into main Jul 28, 2024
4 checks passed
@erincatto erincatto deleted the erincatto/manifold_perf branch July 28, 2024 05:30
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