[repacker] optimzie remove_real_links as it's a hot method.

This commit is contained in:
Garret Rieger 2022-08-18 01:19:54 +00:00
parent 46b5dbd7ce
commit 29e3b2467e
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ struct graph_t
{ {
for (unsigned i = 0; i < obj.real_links.length; i++) 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) if (link.objidx != child_index)
continue; continue;