Figure @fig:line_loss_error shows this error as function of the number of points $N$.
Here, we see that for homogeneous sampling to get the same error as sampling with a line loss, a factor $\approx 10$ times more points are needed.
Here, we see that for homogeneous sampling to get the same error as sampling with a line loss, a factor $\approx 1.6-20$ times more points are needed, depending on the function.
## A parallelizable adaptive integration algorithm based on cquad