Skip to content

ConvexHullHelper: Speed up ReduceFace with bitset - #409

Closed
CallumDev wants to merge 1 commit into
bepu:masterfrom
CallumDev:convex-hull-faster
Closed

ConvexHullHelper: Speed up ReduceFace with bitset#409
CallumDev wants to merge 1 commit into
bepu:masterfrom
CallumDev:convex-hull-faster

Conversation

@CallumDev

@CallumDev CallumDev commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

When creating a very large amount of convex hulls in my project I noticed ReduceFace was spending a large amount of time in QuickList<int>.Contains(), particularly on inputs with large amounts of points.

This PR has ReduceFace maintain a bitset of values present in reducedIndices, and measurably cuts down on the run time in my project.

@RossNordby

Copy link
Copy Markdown
Member

#412 now handles this, thanks!

@RossNordby RossNordby closed this Aug 9, 2026
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