From 29e3b2467e4b050f0aca8b27a6adb0af2d114323 Mon Sep 17 00:00:00 2001 From: Garret Rieger Date: Thu, 18 Aug 2022 01:19:54 +0000 Subject: [PATCH] [repacker] optimzie remove_real_links as it's a hot method. --- src/graph/graph.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graph/graph.hh b/src/graph/graph.hh index ab95a71c4..64878a84a 100644 --- a/src/graph/graph.hh +++ b/src/graph/graph.hh @@ -141,7 +141,7 @@ struct graph_t { for (unsigned i = 0; i < obj.real_links.length; i++) { - auto& link = obj.real_links[i]; + auto& link = obj.real_links.arrayZ[i]; if (link.objidx != child_index) continue;