mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-12-04 07:19:24 -05:00
Scrubbing the Cut Simulator backward reset the heat model and replayed from zero, so every frame cost a full run (~75 ms on N26-2EF, over a second at 1/32 in cells). - A straight run from the start now keeps checkpoints (temperature, peak, cursors) about every 500k cell updates, within 32 MB; the pieces are rebuilt from the event cursor. Going back, or jumping more than eight steps ahead, resumes from the latest checkpoint a straight run to the target passes, so the state is exactly that run's. Seeks on N26-2EF drop from 12-150 ms to about 1 ms. - The diffusion step runs branch-free on Vector<float> with neighbor links precomputed as 0/1 weights when pieces change, and splits across processors on grids of 65,536 cells or more. A missing link adds a zero, so results stay bit-identical. - Rises below 1e-30 K are flushed to zero: the heat front passed through subnormal floats, which made long runs 2-4x slower. Only cells below ~3e-18 K change, by at most 2e-25 K; N26-2EF's end state is bit-identical. A full run on N26-2EF falls from ~150-180 ms to ~15-40 ms, so the automatic cell size's work budget rises from 20M to 60M cell updates (still about a tenth of a second); full sheets keep 0.5 in. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>