Optimize IntSegmentSet setToIntersection
Closed this issue · 1 comments
soywiz commented
Check the number of segments of the two sets and make the outer iteration to use the set with less elements.
This operation is used for clipping.
Closed this issue · 1 comments
Check the number of segments of the two sets and make the outer iteration to use the set with less elements.
This operation is used for clipping.