8000 Revert templating on collapse_edge, separate overloads by alecjacobson · Pull Request #2455 · libigl/libigl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Revert templating on collapse_edge, separate overloads #2455

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

Merged
merged 6 commits into from
Mar 31, 2025

Conversation

alecjacobson
Copy link
Contributor

Fixes #2452 by reverting some of the refactoring to template collapse_edge better.

This pulls out the previous overload of collapse_edge which managed the queue into a separate new function collapse_least_cost_edge. That function's header is marked as being difficult to template correctly.

Performance seems to be back to what it was before.

@alecjacobson alecjacobson merged commit 0e360d5 into main Mar 31, 2025
17 checks passed
@alecjacobson alecjacobson deleted the alecjacobson/revert-collapse_edge branch March 31, 2025 21:00
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.

Decimate mesh suddenly extremely slow
1 participant
0