From ecbdae638935e3897fbff76b50756a939101c708 Mon Sep 17 00:00:00 2001 From: ernisto Date: Fri, 11 Apr 2025 12:52:45 -0300 Subject: [PATCH] revert: fix(graph): avoid repeatedly child of the same parent (#21ed76f) - we had performance issues on benchmark `update 500->1 graph` --- src/graph.luau | 1 - 1 file changed, 1 deletion(-) diff --git a/src/graph.luau b/src/graph.luau index f908e5d..c1d5734 100644 --- a/src/graph.luau +++ b/src/graph.luau @@ -81,7 +81,6 @@ local function assert_stable_scope(): Node end local function push_child(parent: SourceNode, child: Node) - if table.find(child.parents, parent) then return end table.insert(parent, child) table.insert(child.parents, parent) end