Optimize arc length parameterization
Optimize arc length parameterization

Reduce number of object allocations (and function calls when querying) by having each SegmentTree node represent four segments instead of one. Quite possible that using 8, 16 or 32 segments per leaf could lead to even faster code!

opensolid/geometry