You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: node-graph/interpreted-executor/src/dynamic_executor.rs
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -419,7 +419,8 @@ impl BorrowTree {
419
419
let nullify_when_calling = node_construction_args.context_dependencies.inverse();
420
420
421
421
let cached_protonode = ifletSome(cache_constructor) = typing_context.cache_constructor(&types.return_value.nested_type()){
422
-
let cache = cache_constructor(protonode,MonitorMemoNodeState::Disabled);
422
+
// Every cache stores its first evaluation, because if it acts as a pass through on the first evaluation, it can become cached and it wont be possible to know its value for its thumbnail
423
+
let cache = cache_constructor(protonode,MonitorMemoNodeState::StoreFirstEvaluation);
423
424
let cache_node_container = NodeContainer::new(cache);
0 commit comments