Open emeeks opened 7 years ago
Some benchmarks would be great. It'll be a little hard to avoid the case-by-case experimentation right now because the impact of maxSegmentLength
depends on the particulars of the geometry and the coordinate space. But in v1 I'll probably turn this option into a relative value (e.g. maxSegmentLength: 0.1
= no segment can be longer than 10% of the total perimeter), which would reduce the guesswork.
Also need to investigate whether reducing the precision of coordinates in the generated path strings affects performance at all.
I think it would be helpful if the documentation gave folks some sense of the performance of the interpolations with the segment options so they could plan accordingly. Right now I feel like I'm evaluating on a case-by-case basis which probably doesn't make sense for everyone.