Add convex CSG incremental checkpoints
This commit is contained in:
parent
5733e823a5
commit
eb97a5342f
6 changed files with 320 additions and 178 deletions
|
|
@ -119,10 +119,11 @@ operations by `BrushId`, invalidating cached output and incrementing generation.
|
|||
`DirtyDemandFrontier` computes the conservative ordered suffix after the first
|
||||
dirty brush. The prefix before that index is the future cache boundary; the
|
||||
suffix is live because ordered CSG decisions propagate forward. Box-only ordered
|
||||
CSG now has a real prefix checkpoint cache, and `build_incremental()` resumes
|
||||
from the checkpoint before the first dirty brush. Output parity is tested against
|
||||
full rebuilds. Mesh emission is still whole-output, and rotated/non-box paths
|
||||
still fall back.
|
||||
CSG and the general convex builder now have prefix checkpoint caches, and
|
||||
`build_incremental()` resumes from the checkpoint before the first dirty brush.
|
||||
Output parity is tested against full rebuilds. Checkpoint validity is tracked as
|
||||
a prefix boundary to avoid deep-copying stale history after tail edits. Mesh
|
||||
emission is still whole-output; the category-router path is still separate.
|
||||
|
||||
## Important Invariants
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue