Get Distance at Location Along Spline

Depends on your case. I run it on hundreds of virtual cars, each sampling multiple long splines multiple times per second. All the code is running on multiple threads already, but is still far from free. Initially it was crazy expensive. I don’t force anyone to optimize, but it’s good to understand the cost.