[repacker] optimzie remove_real_links as it's a hot method.
This commit is contained in:
parent
46b5dbd7ce
commit
29e3b2467e
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue