From d276e2a62ad08e46522c780c9385cb217236c855 Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Thu, 18 Sep 2025 12:51:47 +0200 Subject: [PATCH] Remove redundant stable id generation --- node-graph/graph-craft/src/graphene_compiler.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node-graph/graph-craft/src/graphene_compiler.rs b/node-graph/graph-craft/src/graphene_compiler.rs index 9534b2d126..6a09a58075 100644 --- a/node-graph/graph-craft/src/graphene_compiler.rs +++ b/node-graph/graph-craft/src/graphene_compiler.rs @@ -5,7 +5,7 @@ use std::error::Error; pub struct Compiler {} impl Compiler { - pub fn compile<'a>(&'a self, mut network: NodeNetwork, mut ty: Option<&mut TypingContext>) -> impl Iterator> { + pub fn compile(&self, mut network: NodeNetwork, mut ty: Option<&mut TypingContext>) -> impl Iterator> { let node_ids = network.nodes.keys().copied().collect::>(); network.populate_dependants(); for id in node_ids { @@ -18,7 +18,7 @@ impl Compiler { proto_networks.map(move |mut proto_network| { proto_network.insert_context_nullification_nodes(ty.as_deref_mut())?; - proto_network.generate_stable_node_ids(); + // proto_network.generate_stable_node_ids(); Ok(proto_network) }) }