- Freeform redraw while dragging or moving a slider: 21 ms -> ~1 ms. The smooth surface is a fixed weighted sum of the cage points for a given layout: the weights are worked out once per layout (subdivisionPlan, the same rules as subdivide + limitPoints, matching them to 1e-5 mm on 6 kinds of cage) and the GPU buffers are refilled in place
- Freeform self-crossing check: 11 -> 5 ms (cached weights, number keys)
- Showing a rebuilt model: 386 -> 16 ms for the ruler (its corners were de-duplicated by comparing every pair; now by position, same corners in the same order — tests/speed.test.ts)
- Picking (hover and tap): 10-14 -> 0.7 ms for the ruler (one combined matrix, no allocation, canvas size read once, far edge pieces skipped first)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>