Data structure has a significant impact on Boundary Surface's performance

Boundry Surface.gh (64.7 KB)

For closed curves, why don’t we internally change the data structure before calculation?
The examples 1 and 2, both are grafted, but they exhibit a 3 times speed difference. Why is that?

Why is that?
And also see this.

Applying Boundary Surfaces to a list of curves is different to when each curve is in a separate branch.
It checks the curves against each other for containment
image

Even though none of the curves in your example are actually contained within each other, when the items are in the same list it is still checking.

4 Likes

Thank you @DanielPiker.