43f21e8fec
A live drag frame shares one work budget between its held solves, but only their cluster decomposition was charged. The numerical solve (LM) ran outside it, so in a larger sketch where the geometry can't follow the cursor, one frame ran 64 failing held solves of about 150 ms each: 10 s per frame (68 points, 50 curves, 58 constraints, found by randomised sketch editing). The frame budget now also counts the LM work of its held solves, without stopping a solve: once a frame's share is spent, the drag takes no more steps in that frame, keeps what it reached and asks for the next frame (retry), as the viewport already handles. The same drag now takes about 0.3 s per frame. Solves outside live frames are unchanged. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>