mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-23 02:44:24 +01:00
The touching-run search looked up the sample before each angle with a linear scan over the run, so a long run of samples within the tolerance cost time in proportion to the square of its length. It now collects the run's sample angles once and uses partition_point, which gives the same sample at every angle.