Reuse captured paint dependencies for unchanged projected nodes
This commit is contained in:
@@ -786,3 +786,14 @@ limits, atomic reference cycles, parser slices and durability backpressure keep
|
||||
their existing roles. Rejected attempts do not train the success-cost estimate.
|
||||
The limit is a scheduling hint, not another persistent queue or an assurance
|
||||
that an indivisible transaction or subsequent renderer work fits one frame.
|
||||
|
||||
Node paint entries retain a detached dependency signature until an input changes.
|
||||
Unchanged rows compare scalar geometry/transform/preview values and declared data
|
||||
fields directly, without allocating replacement signature objects or dependency
|
||||
arrays. Unspecified data dependencies still compare the complete data snapshot.
|
||||
Nested mutable data is copied on capture, and renderer fallback changes the
|
||||
selected protocol, so neither same object identity nor equal geometry alone
|
||||
permits reuse. `stats().captured` counts actual dependency captures. Projection
|
||||
retention also keeps the existing retained row when the incoming node is the same
|
||||
object in the same lifetime. Both caches remain derived view-owned state; the
|
||||
full membership scan and paint-grid reconciliation remain present.
|
||||
|
||||
Reference in New Issue
Block a user